|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BitSet | |
---|---|
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 | |
---|---|
BitSet |
MismatchedSetException.expecting
|
protected BitSet[] |
BaseRecognizer.following
Track the set of token types that can follow any rule invocation. |
Methods in org.antlr.runtime that return BitSet | |
---|---|
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 |
Methods in org.antlr.runtime with parameters of type BitSet | |
---|---|
void |
BaseRecognizer.consumeUntil(IntStream input,
BitSet set)
Consume tokens until one matches the given token set |
java.util.List |
CommonTokenStream.getTokens(int start,
int stop,
BitSet types)
Given a start and stop index, return a List of all tokens in the token type BitSet. |
void |
BaseRecognizer.match(IntStream input,
int ttype,
BitSet follow)
Match current input symbol against ttype. |
protected void |
BaseRecognizer.mismatch(IntStream input,
int ttype,
BitSet follow)
factor out what to do upon token mismatch so tree parsers can behave differently. |
BitSet |
BitSet.or(BitSet a)
return this | a in a new set |
void |
BitSet.orInPlace(BitSet a)
|
protected void |
BaseRecognizer.pushFollow(BitSet fset)
Push a rule's follow set using our own hardcoded stack |
protected boolean |
BaseRecognizer.recoverFromMismatchedElement(IntStream input,
RecognitionException e,
BitSet follow)
This code is factored out from mismatched token and mismatched set recovery. |
void |
BaseRecognizer.recoverFromMismatchedSet(IntStream input,
RecognitionException e,
BitSet follow)
|
void |
BaseRecognizer.recoverFromMismatchedToken(IntStream input,
RecognitionException e,
int ttype,
BitSet follow)
Attempt to recover from a single missing or extra token. |
Constructors in org.antlr.runtime with parameters of type BitSet | |
---|---|
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 | |
---|---|
void |
DebugParser.recoverFromMismatchedSet(IntStream input,
RecognitionException mte,
BitSet follow)
|
void |
DebugTreeParser.recoverFromMismatchedSet(IntStream input,
RecognitionException mte,
BitSet follow)
|
void |
DebugTreeParser.recoverFromMismatchedToken(IntStream input,
MismatchedTokenException mte,
int ttype,
BitSet follow)
|
void |
DebugParser.recoverFromMismatchedToken(IntStream input,
RecognitionException mte,
int ttype,
BitSet follow)
|
Uses of BitSet in org.antlr.runtime.tree |
---|
Methods in org.antlr.runtime.tree with parameters of type BitSet | |
---|---|
protected void |
TreeParser.mismatch(IntStream input,
int ttype,
BitSet follow)
We have DOWN/UP nodes in the stream that have no line info; override. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |