Uses of Class
org.antlr.runtime.BitSet
Packages that use BitSet
-
Uses of BitSet in org.antlr.runtime
Fields in org.antlr.runtime declared as BitSetModifier and TypeFieldDescriptionMismatchedSetException.expecting
BitSet[]
RecognizerSharedState.following
Track the set of token types that can follow any rule invocation.Methods in org.antlr.runtime that return BitSetModifier and TypeMethodDescriptionprotected 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) return this | a in a new setMethods in org.antlr.runtime with parameters of type BitSetModifier and TypeMethodDescriptionvoid
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) Given a start and stop index, return a List of all tokens in the token type BitSet.Given a start and stop index, return a List of all tokens in the token type BitSet.Match current input symbol against ttype.boolean
BaseRecognizer.mismatchIsMissingToken
(IntStream input, BitSet follow) return this | a in a new setvoid
protected void
BaseRecognizer.pushFollow
(BitSet fset) Push a rule's follow set using our own hardcoded stackBaseRecognizer.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 BitSetModifierConstructorDescriptionMismatchedNotSetException
(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 BitSetModifier and TypeMethodDescriptionprotected 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 BitSetModifier and TypeMethodDescriptionprotected 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.