Uses of Class
org.antlr.runtime.BitSet
-
Packages that use BitSet Package Description org.antlr.runtime org.antlr.runtime.debug org.antlr.runtime.tree -
-
Uses of BitSet in org.antlr.runtime
Fields in org.antlr.runtime declared as BitSet Modifier and Type Field Description BitSet
MismatchedSetException. expecting
BitSet[]
RecognizerSharedState. following
Track the set of token types that can follow any rule invocation.Methods in org.antlr.runtime that return BitSet Modifier and Type Method Description 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 setMethods in org.antlr.runtime with parameters of type BitSet Modifier and Type Method Description void
BaseRecognizer. consumeUntil(IntStream input, BitSet set)
Consume tokens until one matches the given token setprotected Object
BaseRecognizer. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
Conjure up a missing token during error recovery.protected Object
Parser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
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.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.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 stackObject
BaseRecognizer. recoverFromMismatchedSet(IntStream input, RecognitionException e, BitSet follow)
Not currently usedprotected Object
BaseRecognizer. recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)
Attempt to recover from a single missing or extra token.Constructors in org.antlr.runtime with parameters of type BitSet Constructor Description MismatchedNotSetException(BitSet expecting, IntStream input)
MismatchedSetException(BitSet expecting, IntStream input)
-
Uses of BitSet in org.antlr.runtime.debug
Methods in org.antlr.runtime.debug with parameters of type BitSet Modifier and Type Method Description protected Object
DebugTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
-
Uses of BitSet in org.antlr.runtime.tree
Methods in org.antlr.runtime.tree with parameters of type BitSet Modifier and Type Method Description protected Object
TreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)
protected Object
TreeParser. recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)
We have DOWN/UP nodes in the stream that have no line info; override.
-