Package org.antlr.tool
Class Interp.FilteringTokenStream
java.lang.Object
org.antlr.runtime.BufferedTokenStream
org.antlr.runtime.CommonTokenStream
org.antlr.tool.Interp.FilteringTokenStream
- All Implemented Interfaces:
IntStream
,TokenStream
- Enclosing class:
Interp
-
Field Summary
FieldsFields inherited from class org.antlr.runtime.CommonTokenStream
channel
Fields inherited from class org.antlr.runtime.BufferedTokenStream
lastMarker, p, range, tokens, tokenSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setTokenTypeChannel
(int ttype, int channel) protected void
sync
(int i) Make sure index i in tokens has a token.Methods inherited from class org.antlr.runtime.CommonTokenStream
consume, getNumberOfOnChannelTokens, LB, LT, reset, setTokenSource, setup, skipOffTokenChannels, skipOffTokenChannelsReverse
-
Field Details
-
hide
-
-
Constructor Details
-
FilteringTokenStream
-
-
Method Details
-
sync
protected void sync(int i) Description copied from class:BufferedTokenStream
Make sure index i in tokens has a token.- Overrides:
sync
in classBufferedTokenStream
-
setTokenTypeChannel
public void setTokenTypeChannel(int ttype, int channel)
-