类的使用
org.antlr.runtime.BitSet
-
使用BitSet的程序包 程序包 说明 org.antlr.grammar.v3 org.antlr.gunit org.antlr.gunit.swingui.parsers org.antlr.misc org.antlr.runtime org.antlr.runtime.debug org.antlr.runtime.tree -
-
org.antlr.grammar.v3中BitSet的使用
-
org.antlr.gunit中BitSet的使用
-
org.antlr.gunit.swingui.parsers中BitSet的使用
-
org.antlr.misc中BitSet的使用
返回BitSet的org.antlr.misc中的方法 修饰符和类型 方法 说明 BitSetIntervalSet. toRuntimeBitSet() -
org.antlr.runtime中BitSet的使用
声明为BitSet的org.antlr.runtime中的字段 修饰符和类型 字段 说明 BitSetMismatchedSetException. expectingBitSet[]RecognizerSharedState. followingTrack the set of token types that can follow any rule invocation.返回BitSet的org.antlr.runtime中的方法 修饰符和类型 方法 说明 protected BitSetBaseRecognizer. combineFollows(boolean exact)protected BitSetBaseRecognizer. computeContextSensitiveRuleFOLLOW()Compute the context-sensitive FOLLOW set for current rule.protected BitSetBaseRecognizer. computeErrorRecoverySet()static BitSetBitSet. of(int el)static BitSetBitSet. of(int a, int b)static BitSetBitSet. of(int a, int b, int c)static BitSetBitSet. of(int a, int b, int c, int d)BitSetBitSet. or(BitSet a)return this | a in a new set参数类型为BitSet的org.antlr.runtime中的方法 修饰符和类型 方法 说明 voidBaseRecognizer. consumeUntil(IntStream input, BitSet set)Consume tokens until one matches the given token setprotected 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.util.List<? extends Token>BufferedTokenStream. getTokens(int start, int stop, BitSet types)Given a start and stop index, return a List of all tokens in the token type BitSet.java.util.List<? extends Token>LegacyCommonTokenStream. getTokens(int start, int stop, BitSet types)Given a start and stop index, return a List of all tokens in the token type BitSet.java.lang.ObjectBaseRecognizer. match(IntStream input, int ttype, BitSet follow)Match current input symbol against ttype.booleanBaseRecognizer. mismatchIsMissingToken(IntStream input, BitSet follow)BitSetBitSet. or(BitSet a)return this | a in a new setvoidBitSet. orInPlace(BitSet a)protected voidBaseRecognizer. pushFollow(BitSet fset)Push a rule's follow set using our own hardcoded stackjava.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.参数类型为BitSet的org.antlr.runtime中的构造器 构造器 说明 MismatchedNotSetException(BitSet expecting, IntStream input)MismatchedSetException(BitSet expecting, IntStream input) -
org.antlr.runtime.debug中BitSet的使用
参数类型为BitSet的org.antlr.runtime.debug中的方法 修饰符和类型 方法 说明 protected java.lang.ObjectDebugTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow) -
org.antlr.runtime.tree中BitSet的使用
参数类型为BitSet的org.antlr.runtime.tree中的方法 修饰符和类型 方法 说明 protected java.lang.ObjectTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)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.
-