Uses of Interface
org.antlr.runtime.IntStream
Packages that use IntStream
-
Uses of IntStream in org.antlr.runtime
Subinterfaces of IntStream in org.antlr.runtimeModifier and TypeInterfaceDescriptioninterface
A source of characters for an ANTLR lexerinterface
A stream of tokens accessing tokens from a TokenSourceClasses in org.antlr.runtime that implement IntStreamModifier and TypeClassDescriptionclass
This is a char buffer stream that is loaded from a file all at once when you construct the object.class
A kind of ReaderStream that pulls from an InputStream.class
Vacuum all input from a Reader and then treat it like a StringStream.class
A pretty quick CharStream that pulls all data from an array directly.class
Buffer all input tokens but do on-demand fetching of new tokens from lexer.class
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
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
Useful for dumping out the input stream after doing some augmentation or other manipulations.class
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 IntStreamModifier and TypeFieldDescriptionRecognitionException.input
What input stream did the error occur in?Methods in org.antlr.runtime with parameters of type IntStreamModifier and TypeMethodDescriptionboolean
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) Match current input symbol against ttype.void
Match the wildcard: in a symbolvoid
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
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.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 IntStreamModifierConstructorDescriptionEarlyExitException
(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 IntStreamModifier and TypeClassDescriptionclass
class
Debug any tree node stream.Fields in org.antlr.runtime.debug declared as IntStreamMethods in org.antlr.runtime.debug with parameters of type IntStreamModifier and TypeMethodDescriptionvoid
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
Warning: doesn't track success/failure, just unique recording eventConstructors in org.antlr.runtime.debug with parameters of type IntStream -
Uses of IntStream in org.antlr.runtime.tree
Subinterfaces of IntStream in org.antlr.runtime.treeModifier and TypeInterfaceDescriptioninterface
A stream of tree nodes, accessing nodes from a tree of some kindClasses in org.antlr.runtime.tree that implement IntStreamModifier and TypeClassDescriptionclass
A buffered stream of tree nodes.class
Fields in org.antlr.runtime.tree declared as IntStreamMethods in org.antlr.runtime.tree with parameters of type IntStreamModifier and TypeMethodDescriptionprotected Object
TreeParser.getCurrentInputSymbol
(IntStream input) protected Object
TreeParser.getMissingSymbol
(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow) void
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.