Package antlr
Class TreeParser
java.lang.Object
antlr.TreeParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ASTWhere did this rule leave off parsing; avoids a return parameterprotected ASTFactoryAST support code; parser and treeparser delegate to this objectstatic ASTNULLTypeThe AST Null object; the parsing cursor is set to this when it is found to be null.protected TreeParserSharedInputStateNesting level of registered handlersprotected ASTAST return value for a rule is squirreled away hereprotected String[]Table of token type to token namesprotected intUsed to keep track of indentdepth for traceIn/Out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAST()Get the AST return value squirreled away in the parsergetTokenName(int num) String[]protected voidvoidMake sure current lookahead symbol matches the given set Throw an exception upon mismatch, which is catch by either the error handler or by the syntactic predicate.protected voidstatic voidpanic()Deprecated.as of 2.7.2.void