LegacyCommonTokenStream Fields |
The LegacyCommonTokenStream type exposes the following members.
| Name | Description | |
|---|---|---|
| channel | Skip tokens on any channel but this one; this is how we skip whitespace... | |
| channelOverrideMap | Map from token type to channel to override some Tokens' channel numbers | |
| discardOffChannelTokens | By default, track all incoming tokens | |
| discardSet | Set of token types; discard any tokens with this type | |
| lastMarker | Track the last mark() call result value for use in rewind(). | |
| p |
The index into the tokens list of the current token (next token
to consume). p==-1 indicates that the tokens list is empty
| |
| tokens |
Record every single token pulled from the source so we can reproduce
chunks of it later.
|