类的使用
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中的方法 修饰符和类型 方法 说明 BitSet
IntervalSet. toRuntimeBitSet()
-
org.antlr.runtime中BitSet的使用
声明为BitSet的org.antlr.runtime中的字段 修饰符和类型 字段 说明 BitSet
MismatchedSetException. expecting
BitSet[]
RecognizerSharedState. following
Track the set of token types that can follow any rule invocation.返回BitSet的org.antlr.runtime中的方法 修饰符和类型 方法 说明 protected BitSet
BaseRecognizer. combineFollows(boolean exact)
protected BitSet
BaseRecognizer. computeContextSensitiveRuleFOLLOW()
Compute the context-sensitive FOLLOW set for current rule.protected BitSet
BaseRecognizer. computeErrorRecoverySet()
static BitSet
BitSet. of(int el)
static BitSet
BitSet. of(int a, int b)
static BitSet
BitSet. of(int a, int b, int c)
static BitSet
BitSet. of(int a, int b, int c, int d)
BitSet
BitSet. or(BitSet a)
return this | a in a new set参数类型为BitSet的org.antlr.runtime中的方法 修饰符和类型 方法 说明 void
BaseRecognizer. consumeUntil(IntStream input, BitSet set)
Consume tokens until one matches the given token setprotected java.lang.Object
BaseRecognizer. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
Conjure up a missing token during error recovery.protected java.lang.Object
Parser. 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.Object
BaseRecognizer. match(IntStream input, int ttype, BitSet follow)
Match current input symbol against ttype.boolean
BaseRecognizer. mismatchIsMissingToken(IntStream input, BitSet follow)
BitSet
BitSet. or(BitSet a)
return this | a in a new setvoid
BitSet. orInPlace(BitSet a)
protected void
BaseRecognizer. pushFollow(BitSet fset)
Push a rule's follow set using our own hardcoded stackjava.lang.Object
BaseRecognizer. recoverFromMismatchedSet(IntStream input, RecognitionException e, BitSet follow)
Not currently usedprotected java.lang.Object
BaseRecognizer. 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.Object
DebugTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
-
org.antlr.runtime.tree中BitSet的使用
参数类型为BitSet的org.antlr.runtime.tree中的方法 修饰符和类型 方法 说明 protected java.lang.Object
TreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
protected java.lang.Object
TreeParser. recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)
We have DOWN/UP nodes in the stream that have no line info; override.
-