接口的使用
org.antlr.runtime.IntStream
-
使用IntStream的程序包 程序包 说明 org.antlr.analysis org.antlr.grammar.v3 org.antlr.gunit org.antlr.gunit.swingui.parsers org.antlr.runtime org.antlr.runtime.debug org.antlr.runtime.tree org.antlr.tool -
-
org.antlr.analysis中IntStream的使用
参数类型为IntStream的org.antlr.analysis中的方法 修饰符和类型 方法 说明 intDFA. predict(IntStream input) -
org.antlr.grammar.v3中IntStream的使用
参数类型为IntStream的org.antlr.grammar.v3中的方法 修饰符和类型 方法 说明 booleanActionAnalysis. alreadyParsedRule(IntStream input, int ruleIndex)booleanActionTranslator. alreadyParsedRule(IntStream input, int ruleIndex)voidActionAnalysis. memoize(IntStream input, int ruleIndex, int ruleStartIndex)voidActionTranslator. memoize(IntStream input, int ruleIndex, int ruleStartIndex)intANTLRLexer.DFA9. specialStateTransition(int s, IntStream _input)intANTLRv3Lexer.DFA2. specialStateTransition(int s, IntStream _input)intANTLRv3Lexer.DFA22. specialStateTransition(int s, IntStream _input) -
org.antlr.gunit中IntStream的使用
参数类型为IntStream的org.antlr.gunit中的方法 修饰符和类型 方法 说明 intgUnitLexer.DFA14. specialStateTransition(int s, IntStream _input) -
org.antlr.gunit.swingui.parsers中IntStream的使用
参数类型为IntStream的org.antlr.gunit.swingui.parsers中的方法 修饰符和类型 方法 说明 intANTLRv3Lexer.DFA2. specialStateTransition(int s, IntStream _input)intANTLRv3Lexer.DFA22. specialStateTransition(int s, IntStream _input)intStGUnitLexer.DFA13. specialStateTransition(int s, IntStream _input) -
org.antlr.runtime中IntStream的使用
org.antlr.runtime中IntStream的子接口 修饰符和类型 接口 说明 interfaceCharStreamA source of characters for an ANTLR lexerinterfaceTokenStreamA stream of tokens accessing tokens from a TokenSource实现IntStream的org.antlr.runtime中的类 修饰符和类型 类 说明 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.声明为IntStream的org.antlr.runtime中的字段 修饰符和类型 字段 说明 IntStreamRecognitionException. inputWhat input stream did the error occur in?参数类型为IntStream的org.antlr.runtime中的方法 修饰符和类型 方法 说明 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 java.lang.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 java.lang.ObjectParser. getCurrentInputSymbol(IntStream input)protected java.lang.ObjectBaseRecognizer. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)Conjure up a missing token during error recovery.protected java.lang.ObjectParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)java.lang.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.java.lang.ObjectBaseRecognizer. recoverFromMismatchedSet(IntStream input, RecognitionException e, BitSet follow)Not currently usedprotected java.lang.ObjectBaseRecognizer. recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)Attempt to recover from a single missing or extra token.intDFA. specialStateTransition(int s, IntStream input)参数类型为IntStream的org.antlr.runtime中的构造器 构造器 说明 EarlyExitException(int decisionNumber, IntStream input)FailedPredicateException(IntStream input, java.lang.String ruleName, java.lang.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, java.lang.Object inserted)NoViableAltException(java.lang.String grammarDecisionDescription, int decisionNumber, int stateNumber, IntStream input)RecognitionException(IntStream input)UnwantedTokenException(int expecting, IntStream input) -
org.antlr.runtime.debug中IntStream的使用
实现IntStream的org.antlr.runtime.debug中的类 修饰符和类型 类 说明 classDebugTokenStreamclassDebugTreeNodeStreamDebug any tree node stream.声明为IntStream的org.antlr.runtime.debug中的字段 修饰符和类型 字段 说明 IntStreamTracer. input参数类型为IntStream的org.antlr.runtime.debug中的方法 修饰符和类型 方法 说明 voidProfiler. examineRuleMemoization(IntStream input, int ruleIndex, int stopIndex, java.lang.String ruleName)Track memoization; this is not part of standard debug interface but is triggered by profiling.protected java.lang.ObjectDebugTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)voidProfiler. memoize(IntStream input, int ruleIndex, int ruleStartIndex, java.lang.String ruleName)Warning: doesn't track success/failure, just unique recording event参数类型为IntStream的org.antlr.runtime.debug中的构造器 构造器 说明 Tracer(IntStream input) -
org.antlr.runtime.tree中IntStream的使用
org.antlr.runtime.tree中IntStream的子接口 修饰符和类型 接口 说明 interfaceTreeNodeStreamA stream of tree nodes, accessing nodes from a tree of some kind实现IntStream的org.antlr.runtime.tree中的类 修饰符和类型 类 说明 classBufferedTreeNodeStreamA buffered stream of tree nodes.classCommonTreeNodeStream声明为IntStream的org.antlr.runtime.tree中的字段 修饰符和类型 字段 说明 IntStreamCommonErrorNode. input参数类型为IntStream的org.antlr.runtime.tree中的方法 修饰符和类型 方法 说明 protected java.lang.ObjectTreeParser. getCurrentInputSymbol(IntStream input)protected java.lang.ObjectTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)voidTreeParser. matchAny(IntStream ignore)Match '.' in tree parser has special meaning.protected java.lang.ObjectTreeParser. recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)We have DOWN/UP nodes in the stream that have no line info; override. -
org.antlr.tool中IntStream的使用
实现IntStream的org.antlr.tool中的类 修饰符和类型 类 说明 static classInterp.FilteringTokenStream声明为IntStream的org.antlr.tool中的字段 修饰符和类型 字段 说明 protected IntStreamInterpreter. input参数类型为IntStream的org.antlr.tool中的方法 修饰符和类型 方法 说明 protected voidInterpreter. parseEngine(java.lang.String startRule, NFAState start, NFAState stop, IntStream input, java.util.Stack<NFAState> ruleInvocationStack, DebugEventListener actions, java.util.List<NFAState> visitedStates)Fill a list of all NFA states visited during the parse参数类型为IntStream的org.antlr.tool中的构造器 构造器 说明 Interpreter(Grammar grammar, IntStream input)
-