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 interfaceCharStreamA source of characters for an ANTLR lexerinterfaceTokenStreamA stream of tokens accessing tokens from a TokenSourceClasses in org.antlr.runtime that implement IntStream Modifier and Type Class Description classANTLRFileStreamThis is a char buffer stream that is loaded from a file all at once when you construct the object.classANTLRInputStreamA kind of ReaderStream that pulls from an InputStream.classANTLRReaderStreamVacuum all input from a Reader and then treat it like a StringStream.classANTLRStringStreamA pretty quick CharStream that pulls all data from an array directly.classBufferedTokenStreamBuffer all input tokens but do on-demand fetching of new tokens from lexer.classCommonTokenStreamThe 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).classLegacyCommonTokenStreamThe 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).classTokenRewriteStreamUseful for dumping out the input stream after doing some augmentation or other manipulations.classUnbufferedTokenStreamA 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 IntStreamRecognitionException. inputWhat input stream did the error occur in?Methods in org.antlr.runtime with parameters of type IntStream Modifier and Type Method Description booleanBaseRecognizer. 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)ObjectBaseRecognizer. match(IntStream input, int ttype, BitSet follow)Match current input symbol against ttype.voidBaseRecognizer. matchAny(IntStream input)Match the wildcard: in a symbolvoidBaseRecognizer. memoize(IntStream input, int ruleIndex, int ruleStartIndex)Record 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)intDFA. predict(IntStream input)From 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.ObjectBaseRecognizer. 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 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 classDebugTokenStreamclassDebugTreeNodeStreamDebug any tree node stream.Fields in org.antlr.runtime.debug declared as IntStream Modifier and Type Field Description IntStreamTracer. inputMethods in org.antlr.runtime.debug with parameters of type IntStream Modifier and Type Method Description voidProfiler. 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)voidProfiler. 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 interfaceTreeNodeStreamA 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 classBufferedTreeNodeStreamA buffered stream of tree nodes.classCommonTreeNodeStreamFields in org.antlr.runtime.tree declared as IntStream Modifier and Type Field Description IntStreamCommonErrorNode. inputMethods in org.antlr.runtime.tree with parameters of type IntStream Modifier and Type Method Description protected ObjectTreeParser. getCurrentInputSymbol(IntStream input)protected ObjectTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)voidTreeParser. matchAny(IntStream ignore)Match '.' 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.
-