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 BitSetMismatchedSetException. expectingBitSet[]RecognizerSharedState. followingTrack 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 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 setMethods in org.antlr.runtime with parameters of type BitSet Modifier and Type Method Description voidBaseRecognizer. consumeUntil(IntStream input, BitSet set)Consume tokens until one matches the given token setprotected ObjectBaseRecognizer. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)Conjure up a missing token during error recovery.protected ObjectParser. 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.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 stackObjectBaseRecognizer. recoverFromMismatchedSet(IntStream input, RecognitionException e, BitSet follow)Not currently usedprotected ObjectBaseRecognizer. 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 ObjectDebugTreeParser. 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 ObjectTreeParser. getMissingSymbol(IntStream input, RecognitionException e, int expectedTokenType, BitSet follow)protected ObjectTreeParser. recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow)We have DOWN/UP nodes in the stream that have no line info; override.
-