Click or drag to resize

TreeRewriter Properties

The TreeRewriter type exposes the following members.

Properties
  NameDescription
Public propertyBacktrackingLevel (Inherited from BaseRecognizer.)
Public propertyFailed
Return whether or not a backtracking attempt failed.
(Inherited from BaseRecognizer.)
Public propertyGrammarFileName
For debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.
(Inherited from BaseRecognizer.)
Public propertyNumberOfSyntaxErrors
Get number of recognition errors (lexer, parser, tree parser). Each recognizer tracks its own number. So parser and lexer each have separate count. Does not count the spurious errors found between an error and next valid token match
(Inherited from BaseRecognizer.)
Public propertySourceName (Inherited from TreeParser.)
Public propertyTokenNames
Used to print out token names like ID during debugging and error reporting. The generated parsers implement a method that overrides this to point to their String[] tokenNames.
(Inherited from BaseRecognizer.)
Public propertyTraceDestination (Inherited from BaseRecognizer.)
Top
See Also