| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectantlr.Parserantlr.LLkParserantlr.ANTLRParserField Summary | |
static String[] | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
(package private) Tool | |
(package private) ANTLRGrammarParseBehavior | |
protected int | |
Fields inherited from class antlr.Parser | |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth | |
Fields inherited from interface antlr.ANTLRTokenTypes | |
ACTION, ARG_ACTION, ASSIGN, BANG, CARET, CHAR_LITERAL, CLOSE_ELEMENT_OPTION, COLON, COMMA, COMMENT, DIGIT, DOC_COMMENT, EOF, ESC, IMPLIES, INT, INTERNAL_RULE_REF, LITERAL_Lexer, LITERAL_Parser, LITERAL_TreeParser, LITERAL_catch, LITERAL_charVocabulary, LITERAL_class, LITERAL_exception, LITERAL_extends, LITERAL_header, LITERAL_lexclass, LITERAL_options, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_returns, LITERAL_throws, LITERAL_tokens, LPAREN, ML_COMMENT, NESTED_ACTION, NESTED_ARG_ACTION, NOT_OP, NULL_TREE_LOOKAHEAD, OPEN_ELEMENT_OPTION, OPTIONS, OR, PLUS, QUESTION, RANGE, RCURLY, RPAREN, RULE_REF, SEMI, SEMPRED, SL_COMMENT, STAR, STRING_LITERAL, TOKENS, TOKEN_REF, TREE_BEGIN, WILDCARD, WS, WS_LOOP, WS_OPT, XDIGIT | |
Constructor Summary | |
| |
| |
| |
| |
| |
Method Summary | |
void | |
int | |
void |
|
BitSet |
|
void |
|
void | |
void |
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void |
|
Token |
|
void | |
void |
|
void |
|
Token | |
void | |
void |
|
Token |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
BitSet | |
void | |
String | |
void | |
void | |
void | |
void | |
void |
|
void | |
void |
|
public ANTLRParser(TokenBuffer tokenBuf, ANTLRGrammarParseBehavior behavior_, Tool tool_)
public final void ebnf(Token label, boolean not) throws RecognitionException, TokenStreamException
public final void elementNoOptionSpec()
throws RecognitionException,
TokenStreamExceptionpublic final void elementOptionSpec()
throws RecognitionException,
TokenStreamExceptionpublic final void exceptionHandler()
throws RecognitionException,
TokenStreamExceptionpublic final void exceptionSpecNoLabel()
throws RecognitionException,
TokenStreamExceptionpublic final void fileOptionsSpec()
throws RecognitionException,
TokenStreamExceptionpublic final void lexerOptionsSpec()
throws RecognitionException,
TokenStreamExceptionpublic final void notTerminal(Token label) throws RecognitionException, TokenStreamException
public final void parserOptionsSpec()
throws RecognitionException,
TokenStreamExceptionpublic final void parserSpec(String doc)
throws RecognitionException,
TokenStreamExceptionpublic final Token qualifiedID() throws RecognitionException, TokenStreamException
Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token.
public void reportError(String s)
Parser error-reporting function can be overridden in subclass
- Overrides:
- reportError in interface Parser
public void reportError(RecognitionException e)
Parser error-reporting function can be overridden in subclass
- Overrides:
- reportError in interface Parser
public void reportWarning(String s)
Parser warning-reporting function can be overridden in subclass
- Overrides:
- reportWarning in interface Parser
public final void ruleOptionsSpec()
throws RecognitionException,
TokenStreamExceptionpublic final BitSet setBlockElement() throws RecognitionException, TokenStreamException
public final void subruleOptionsSpec()
throws RecognitionException,
TokenStreamExceptionpublic final void tokensSpecOptions(Token t) throws RecognitionException, TokenStreamException
public final void treeParserOptionsSpec()
throws RecognitionException,
TokenStreamExceptionpublic final void treeParserSpec(String doc)
throws RecognitionException,
TokenStreamException