Uses of Interface
org.antlr.runtime.IntStream
-
Packages that use IntStream Package Description org.antlr.runtime org.antlr.runtime.debug org.antlr.runtime.tree -
-
Uses of IntStream in org.antlr.runtime
Subinterfaces of IntStream in org.antlr.runtime Modifier and Type Interface Description interface
CharStream
A source of characters for an ANTLR lexerinterface
TokenStream
A stream of tokens accessing tokens from a TokenSourceClasses in org.antlr.runtime that implement IntStream Modifier and Type Class Description class
ANTLRFileStream
This is a char buffer stream that is loaded from a file all at once when you construct the object.class
ANTLRInputStream
A kind of ReaderStream that pulls from an InputStream.class
ANTLRReaderStream
Vacuum all input from a Reader and then treat it like a StringStream.class
ANTLRStringStream
A pretty quick CharStream that pulls all data from an array directly.class
BufferedTokenStream
Buffer all input tokens but do on-demand fetching of new tokens from lexer.class
CommonTokenStream
The most common stream of tokens where every token is buffered up and tokens are filtered for a certain channel (the parser will only see these tokens).class
LegacyCommonTokenStream
The most common stream of tokens is one where every token is buffered up and tokens are prefiltered for a certain channel (the parser will only see these tokens and cannot change the filter channel number during the parse).class
TokenRewriteStream
Useful for dumping out the input stream after doing some augmentation or other manipulations.class
UnbufferedTokenStream
A token stream that pulls tokens from the code source on-demand and without tracking a complete buffer of the tokens.Fields in org.antlr.runtime declared as IntStream Modifier and Type Field Description IntStream
RecognitionException. input
What input stream did the error occur in?Methods in org.antlr.runtime with parameters of type IntStream Modifier and Type Method Description boolean
BaseRecognizer. alreadyParsedRule(IntStream input, int ruleIndex)
Has this rule already parsed input at the current index in the input stream? Return the stop token index or MEMO_RULE_UNKNOWN.void
BaseRecognizer. consumeUntil(IntStream input, int tokenType)
void
BaseRecognizer. consumeUntil(IntStream input, BitSet set)
Consume tokens until one matches the given token setprotected void
RecognitionException. extractInformationFromTreeNodeStream(IntStream input)
protected Object
BaseRecognizer. getCurrentInputSymbol(IntStream input)
Match needs to return the current input symbol, which gets put into the label for the associated token ref; e.g., x=ID.protected Object
Parser. getCurrentInputSymbol(IntStream input)
protected Object
BaseRecognizer. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
Conjure up a missing token during error recovery.protected Object
Parser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
Object
BaseRecognizer. match(IntStream input, int ttype, BitSet follow)
Match current input symbol against ttype.void
BaseRecognizer. matchAny(IntStream input)
Match the wildcard: in a symbolvoid
BaseRecognizer. memoize(IntStream input, int ruleIndex, int ruleStartIndex)
Record whether or not this rule parsed the input at this position successfully.boolean
BaseRecognizer. mismatchIsMissingToken(IntStream input, BitSet follow)
boolean
BaseRecognizer. mismatchIsUnwantedToken(IntStream input, int ttype)
protected void
DFA. noViableAlt(int s, IntStream input)
int
DFA. predict(IntStream input)
From the input stream, predict what alternative will succeed using this DFA (representing the covering regular approximation to the underlying CFL).void
BaseRecognizer. recover(IntStream input, RecognitionException re)
Recover from an error found on the input stream.Object
BaseRecognizer. recoverFromMismatchedSet(IntStream input, RecognitionException e, BitSet follow)
Not currently usedprotected Object
BaseRecognizer. recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)
Attempt to recover from a single missing or extra token.int
DFA. specialStateTransition(int s, IntStream input)
Constructors in org.antlr.runtime with parameters of type IntStream Constructor Description EarlyExitException(int decisionNumber, IntStream input)
FailedPredicateException(IntStream input, String ruleName, String predicateText)
MismatchedNotSetException(BitSet expecting, IntStream input)
MismatchedRangeException(int a, int b, IntStream input)
MismatchedSetException(BitSet expecting, IntStream input)
MismatchedTokenException(int expecting, IntStream input)
MissingTokenException(int expecting, IntStream input, Object inserted)
NoViableAltException(String grammarDecisionDescription, int decisionNumber, int stateNumber, IntStream input)
RecognitionException(IntStream input)
UnwantedTokenException(int expecting, IntStream input)
-
Uses of IntStream in org.antlr.runtime.debug
Classes in org.antlr.runtime.debug that implement IntStream Modifier and Type Class Description class
DebugTokenStream
class
DebugTreeNodeStream
Debug any tree node stream.Fields in org.antlr.runtime.debug declared as IntStream Modifier and Type Field Description IntStream
Tracer. input
Methods in org.antlr.runtime.debug with parameters of type IntStream Modifier and Type Method Description void
Profiler. examineRuleMemoization(IntStream input, int ruleIndex, int stopIndex, String ruleName)
Track memoization; this is not part of standard debug interface but is triggered by profiling.protected Object
DebugTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
void
Profiler. memoize(IntStream input, int ruleIndex, int ruleStartIndex, String ruleName)
Warning: doesn't track success/failure, just unique recording eventConstructors in org.antlr.runtime.debug with parameters of type IntStream Constructor Description Tracer(IntStream input)
-
Uses of IntStream in org.antlr.runtime.tree
Subinterfaces of IntStream in org.antlr.runtime.tree Modifier and Type Interface Description interface
TreeNodeStream
A stream of tree nodes, accessing nodes from a tree of some kindClasses in org.antlr.runtime.tree that implement IntStream Modifier and Type Class Description class
BufferedTreeNodeStream
A buffered stream of tree nodes.class
CommonTreeNodeStream
Fields in org.antlr.runtime.tree declared as IntStream Modifier and Type Field Description IntStream
CommonErrorNode. input
Methods in org.antlr.runtime.tree with parameters of type IntStream Modifier and Type Method Description protected Object
TreeParser. getCurrentInputSymbol(IntStream input)
protected Object
TreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
void
TreeParser. matchAny(IntStream ignore)
Match '.' in tree parser has special meaning.protected Object
TreeParser. recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)
We have DOWN/UP nodes in the stream that have no line info; override.
-