|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--antlr.Parser | +--antlr.LLkParser | +--antlr.ANTLRParser
Untamed:
Field Summary | |
static String[] |
_tokenNames
Enabled: |
static BitSet |
_tokenSet_0
Enabled: |
private static long[] |
_tokenSet_0_data_
|
static BitSet |
_tokenSet_1
Enabled: |
private static long[] |
_tokenSet_1_data_
|
static BitSet |
_tokenSet_10
Enabled: |
private static long[] |
_tokenSet_10_data_
|
static BitSet |
_tokenSet_11
Enabled: |
private static long[] |
_tokenSet_11_data_
|
static BitSet |
_tokenSet_2
Enabled: |
private static long[] |
_tokenSet_2_data_
|
static BitSet |
_tokenSet_3
Enabled: |
private static long[] |
_tokenSet_3_data_
|
static BitSet |
_tokenSet_4
Enabled: |
private static long[] |
_tokenSet_4_data_
|
static BitSet |
_tokenSet_5
Enabled: |
private static long[] |
_tokenSet_5_data_
|
static BitSet |
_tokenSet_6
Enabled: |
private static long[] |
_tokenSet_6_data_
|
static BitSet |
_tokenSet_7
Enabled: |
private static long[] |
_tokenSet_7_data_
|
static BitSet |
_tokenSet_8
Enabled: |
private static long[] |
_tokenSet_8_data_
|
static BitSet |
_tokenSet_9
Enabled: |
private static long[] |
_tokenSet_9_data_
|
(package private) ANTLRGrammarParseBehavior |
behavior
|
protected int |
blockNesting
|
private static boolean |
DEBUG_PARSER
|
(package private) Tool |
tool
|
Fields inherited from class antlr.LLkParser |
k |
Fields inherited from class antlr.Parser |
astFactory, inputState, returnAST, tokenNames, 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_catch, LITERAL_charVocabulary, LITERAL_class, LITERAL_exception, LITERAL_extends, LITERAL_header, LITERAL_lexclass, LITERAL_Lexer, LITERAL_options, LITERAL_Parser, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_returns, LITERAL_throws, LITERAL_tokens, LITERAL_TreeParser, LPAREN, ML_COMMENT, NESTED_ACTION, NESTED_ARG_ACTION, NOT_OP, NOT_USEFUL, NULL_TREE_LOOKAHEAD, OPEN_ELEMENT_OPTION, OPTIONS, OR, PLUS, QUESTION, RANGE, RCURLY, RPAREN, RULE_REF, SEMI, SEMPRED, SL_COMMENT, STAR, STRING_LITERAL, TOKEN_REF, TOKENS, TREE_BEGIN, VOCAB, WILDCARD, WS, WS_LOOP, WS_OPT, XDIGIT |
Constructor Summary | |
|
ANTLRParser(ParserSharedInputState state)
Enabled: |
|
ANTLRParser(TokenBuffer tokenBuf)
Enabled: |
|
ANTLRParser(TokenBuffer tokenBuf,
ANTLRGrammarParseBehavior behavior_,
Tool tool_)
Enabled: |
protected |
ANTLRParser(TokenBuffer tokenBuf,
int k)
|
|
ANTLRParser(TokenStream lexer)
Enabled: |
protected |
ANTLRParser(TokenStream lexer,
int k)
|
Method Summary | |
void |
alternative()
Enabled: |
int |
ast_type_spec()
Enabled: |
void |
block()
Enabled: |
BitSet |
charSet()
Enabled: |
private void |
checkForMissingEndRule(Token label)
|
void |
classDef()
Enabled: |
void |
ebnf(Token label,
boolean not)
Enabled: |
void |
element()
Enabled: |
void |
elementNoOptionSpec()
Enabled: |
void |
elementOptionSpec()
Enabled: |
void |
exceptionGroup()
Enabled: |
void |
exceptionHandler()
Enabled: |
void |
exceptionSpec()
Enabled: |
void |
exceptionSpecNoLabel()
Enabled: |
void |
fileOptionsSpec()
Enabled: |
void |
grammar()
Enabled: |
Token |
id()
Enabled: |
private boolean |
lastInRule()
|
void |
lexerOptionsSpec()
Enabled: |
void |
lexerSpec(String doc)
Enabled: |
void |
notTerminal(Token label)
Enabled: |
Token |
optionValue()
Enabled: |
void |
parserOptionsSpec()
Enabled: |
void |
parserSpec(String doc)
Enabled: |
Token |
qualifiedID()
Enabled: Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token. |
void |
range(Token label)
Enabled: |
void |
rootNode()
Enabled: |
void |
rule()
Enabled: |
void |
ruleOptionsSpec()
Enabled: |
void |
rules()
Enabled: |
BitSet |
setBlockElement()
Enabled: |
void |
subruleOptionsSpec()
Enabled: |
String |
superClass()
Enabled: |
void |
terminal(Token label)
Enabled: |
void |
throwsSpec()
Enabled: |
void |
tokensSpec()
Enabled: |
void |
tokensSpecOptions(Token t)
Enabled: |
void |
tree()
Enabled: |
void |
treeParserOptionsSpec()
Enabled: |
void |
treeParserSpec(String doc)
Enabled: |
Methods inherited from class antlr.LLkParser |
consume, LA, LT, traceIn, traceOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final boolean DEBUG_PARSER
ANTLRGrammarParseBehavior behavior
Tool tool
protected int blockNesting
public static final String[] _tokenNames
private static final long[] _tokenSet_0_data_
public static final BitSet _tokenSet_0
private static final long[] _tokenSet_1_data_
public static final BitSet _tokenSet_1
private static final long[] _tokenSet_2_data_
public static final BitSet _tokenSet_2
private static final long[] _tokenSet_3_data_
public static final BitSet _tokenSet_3
private static final long[] _tokenSet_4_data_
public static final BitSet _tokenSet_4
private static final long[] _tokenSet_5_data_
public static final BitSet _tokenSet_5
private static final long[] _tokenSet_6_data_
public static final BitSet _tokenSet_6
private static final long[] _tokenSet_7_data_
public static final BitSet _tokenSet_7
private static final long[] _tokenSet_8_data_
public static final BitSet _tokenSet_8
private static final long[] _tokenSet_9_data_
public static final BitSet _tokenSet_9
private static final long[] _tokenSet_10_data_
public static final BitSet _tokenSet_10
private static final long[] _tokenSet_11_data_
public static final BitSet _tokenSet_11
Constructor Detail |
public ANTLRParser(TokenBuffer tokenBuf, ANTLRGrammarParseBehavior behavior_, Tool tool_)
protected ANTLRParser(TokenBuffer tokenBuf, int k)
public ANTLRParser(TokenBuffer tokenBuf)
protected ANTLRParser(TokenStream lexer, int k)
public ANTLRParser(TokenStream lexer)
public ANTLRParser(ParserSharedInputState state)
Method Detail |
private boolean lastInRule() throws TokenStreamException
TokenStreamException
private void checkForMissingEndRule(Token label)
public final void grammar() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void fileOptionsSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void classDef() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final Token id() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void lexerSpec(String doc) throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void treeParserSpec(String doc) throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void parserSpec(String doc) throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void rules() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final Token optionValue() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void parserOptionsSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void treeParserOptionsSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void lexerOptionsSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final BitSet charSet() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void subruleOptionsSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final Token qualifiedID() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final BitSet setBlockElement() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void tokensSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void tokensSpecOptions(Token t) throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final String superClass() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void rule() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void throwsSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void ruleOptionsSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void block() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void exceptionGroup() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void alternative() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void element() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void exceptionSpecNoLabel() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void exceptionSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void exceptionHandler() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void elementNoOptionSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void elementOptionSpec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void range(Token label) throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void terminal(Token label) throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void notTerminal(Token label) throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void ebnf(Token label, boolean not) throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void tree() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final void rootNode() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
public final int ast_type_spec() throws RecognitionException, TokenStreamException
RecognitionException
TokenStreamException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |