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 TypeInterfaceDescriptioninterfaceA source of characters for an ANTLR lexerinterfaceA stream of tokens accessing tokens from a TokenSourceClasses in org.antlr.runtime that implement IntStreamModifier and TypeClassDescriptionclassThis is a char buffer stream that is loaded from a file all at once when you construct the object.classA kind of ReaderStream that pulls from an InputStream.classVacuum all input from a Reader and then treat it like a StringStream.classA pretty quick CharStream that pulls all data from an array directly.classBuffer all input tokens but do on-demand fetching of new tokens from lexer.classThe 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).classThe 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).classUseful for dumping out the input stream after doing some augmentation or other manipulations.classA 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.inputWhat input stream did the error occur in?Methods in org.antlr.runtime with parameters of type IntStreamModifier and TypeMethodDescriptionbooleanBaseRecognizer.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.voidBaseRecognizer.consumeUntil(IntStream input, int tokenType) voidBaseRecognizer.consumeUntil(IntStream input, BitSet set) Consume tokens until one matches the given token setprotected voidRecognitionException.extractInformationFromTreeNodeStream(IntStream input) protected ObjectBaseRecognizer.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 ObjectParser.getCurrentInputSymbol(IntStream input) protected ObjectBaseRecognizer.getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow) Conjure up a missing token during error recovery.protected ObjectParser.getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow) Match current input symbol against ttype.voidMatch the wildcard: in a symbolvoidRecord whether or not this rule parsed the input at this position successfully.booleanBaseRecognizer.mismatchIsMissingToken(IntStream input, BitSet follow) booleanBaseRecognizer.mismatchIsUnwantedToken(IntStream input, int ttype) protected voidDFA.noViableAlt(int s, IntStream input) intFrom the input stream, predict what alternative will succeed using this DFA (representing the covering regular approximation to the underlying CFL).voidBaseRecognizer.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 ObjectBaseRecognizer.recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow) Attempt to recover from a single missing or extra token.intDFA.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 TypeClassDescriptionclassclassDebug any tree node stream.Fields in org.antlr.runtime.debug declared as IntStreamMethods in org.antlr.runtime.debug with parameters of type IntStreamModifier and TypeMethodDescriptionvoidProfiler.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 ObjectDebugTreeParser.getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow) voidWarning: 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 TypeInterfaceDescriptioninterfaceA stream of tree nodes, accessing nodes from a tree of some kindClasses in org.antlr.runtime.tree that implement IntStreamModifier and TypeClassDescriptionclassA buffered stream of tree nodes.classFields in org.antlr.runtime.tree declared as IntStreamMethods in org.antlr.runtime.tree with parameters of type IntStreamModifier and TypeMethodDescriptionprotected ObjectTreeParser.getCurrentInputSymbol(IntStream input) protected ObjectTreeParser.getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow) voidMatch '.' in tree parser has special meaning.protected ObjectTreeParser.recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow) We have DOWN/UP nodes in the stream that have no line info; override.