Lexer Fields |
The Lexer type exposes the following members.
| Name | Description | |
|---|---|---|
| input | Where is the lexer drawing characters from? | |
| 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.) |