Click or drag to resize

LegacyCommonTokenStream Fields

The LegacyCommonTokenStream type exposes the following members.

Fields
  NameDescription
Protected fieldchannel
Skip tokens on any channel but this one; this is how we skip whitespace...
Protected fieldchannelOverrideMap
Map from token type to channel to override some Tokens' channel numbers
Protected fielddiscardOffChannelTokens
By default, track all incoming tokens
Protected fielddiscardSet
Set of token types; discard any tokens with this type
Protected fieldlastMarker
Track the last mark() call result value for use in rewind().
Protected fieldp
The index into the tokens list of the current token (next token to consume). p==-1 indicates that the tokens list is empty
Protected fieldtokens
Record every single token pulled from the source so we can reproduce chunks of it later.
Top
See Also