TreeRewriter Fields |
The TreeRewriter type exposes the following members.
Name | Description | |
---|---|---|
![]() | input | (Inherited from TreeParser.) |
![]() | originalAdaptor | |
![]() | originalTokenStream | |
![]() | showTransformations | |
![]() | state |
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.) |