public static class Interp.FilteringTokenStream extends CommonTokenStream
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Set<java.lang.Integer> |
hide |
channellastMarker, p, range, tokens, tokenSource| Constructor and Description |
|---|
FilteringTokenStream(TokenSource src) |
| Modifier and Type | Method and Description |
|---|---|
void |
setTokenTypeChannel(int ttype,
int channel) |
protected void |
sync(int i)
Make sure index i in tokens has a token.
|
consume, getNumberOfOnChannelTokens, LB, LT, reset, setTokenSource, setup, skipOffTokenChannels, skipOffTokenChannelsReversepublic FilteringTokenStream(TokenSource src)
protected void sync(int i)
BufferedTokenStreamsync in class BufferedTokenStreampublic void setTokenTypeChannel(int ttype,
int channel)