Issue an unknown fatal error.
This method is executed by ANTLR internally when it detected an illegal
state that cannot be recovered from.
Issue a fatal error message.
describes what token matches in "human terms"
Parse a C++ namespace declaration into seperate names
splitting on :: We could easily parameterize this to make
the delimiter a language-specific parameter, or use subclasses
to support C++ namespaces versus java packages.
A generic ANTLR parser (LL(k) for k>=1) containing a bunch of
utility routines useful at any lookahead depth.
A class to assist in firing parser events
NOTE: I intentionally _did_not_ synchronize the event firing and
add/remove listener methods.
Parser-specific grammar subclass
This object contains the data associated with an
input stream of tokens.
Parse a list such as "f1.g;f2.g;..." and return a Vector
of the elements.
Override the standard matching and rule entry/exit routines
to build parse trees.
given a filename, strip off the directory prefix (if any)
and return it.
Find a class named after the app and then find a method within
that is named after the action.
pop() - method in class antlr.collections.impl.
LList Pop the top element of the stack off.
create new arg list with correct length to pass to ANTLR
PreservingFileWriter only overwrites target if the new file is different.
Output tab indent followed by a String, to the currentOutput stream.
Print an action stored in a token surrounded by #line stuff
Print an action with leading tabs, attempting to
preserve the current indentation level for multi-line actions
Ignored if string is null.
Print an action with leading tabs, attempting to
preserve the current indentation level for multi-line actions
Ignored if string is null.
Print a header action by #line stuff also process any tree construction
Output tab indent followed by a String followed by newline,
to the currentOutput stream.
Output tab indent followed by a String followed by newline,
to the currentOutput stream.
Format a lookahead or follow set.
Format a lookahead or follow set.
Format a lookahead or follow set.
Output the current tab indentation.
Create a Java code-generator using the given Grammar.
Lexically process $ and # references within the action.
Lexically process tree-specifiers in the action.
Lexically process tree-specifiers in the action.
Lexically process $ and # references within the action.
Lexically process $ and # references within the action.
Lexically process $ and # references within the action.
Lexically process $var and tree-specifiers in the action.
Lexically process $var and tree-specifiers in the action.
Process command line arguments.
Process command line arguments.
Process command line arguments.
Process the command-line arguments.
Process command line arguments.
Process a string for an simple expression for use in xx/action.g
it is used to cast simple tokens/references to the right type for
the generated language.
Process a string for an simple expression for use in xx/action.g
it is used to cast simple tokens/references to the right type for
the generated language.
Process a string for an simple expression for use in xx/action.g
it is used to cast simple tokens/references to the right type for
the generated language.
You may have multiple, named streams of rewrite operations.
Push an object onto the stack.
Generate MyParser.java, MyLexer.java and MyParserTokenTypes.java
Construct code generator base class