Click or drag to resize

TreeRewriter Fields

The TreeRewriter type exposes the following members.

Fields
  NameDescription
Protected fieldinput (Inherited from TreeParser.)
Protected fieldoriginalAdaptor
Protected fieldoriginalTokenStream
Protected fieldshowTransformations
Protected fieldstate
State of a lexer, parser, or tree parser are collected into a state object so the state can be shared. This sharing is needed to have one grammar import others and share same error variables and other state variables. It's a kind of explicit multiple inheritance via delegation of methods and shared state.
(Inherited from BaseRecognizer.)
Top
See Also