| java.lang.Object antlr.MatchExceptionState antlr.Parser antlr.LLkParser
All known Subclasses: antlr.LLkParserNoEx, antlr.debug.LLkDebuggingParser, antlr.preprocessor.Preprocessor, antlr.ANTLRTokdefParser, antlr.ANTLRParser, antlr.debug.ParseTreeDebugParser,
LLkParser | public LLkParser(int k_)(Code) | | |
LA | final public int LA(int i)(Code) | | |
consume | final public void consume()(Code) | | Consume another token from the input stream. Can only write sequentially!
If you need 3 tokens ahead, you must consume() 3 times.
Note that it is possible to overwrite tokens that have not been matched.
For example, calling consume() 3 times when k=2, means that the first token
consumed will be overwritten with the 3rd.
|
syntacticPredicateFailed | protected void syntacticPredicateFailed(int id, int nestingLevel)(Code) | | |
syntacticPredicateStarted | protected void syntacticPredicateStarted(int id, int nestingLevel, int line)(Code) | | |
syntacticPredicateSucceeded | protected void syntacticPredicateSucceeded(int id, int nestingLevel)(Code) | | |
Methods inherited from antlr.MatchExceptionState | public void resetMatchError()(Code)(Java Doc)
|
|
|