Uses of Class
org.antlr.v4.runtime.misc.IntervalSet
-
Packages that use IntervalSet Package Description org.antlr.v4.runtime org.antlr.v4.runtime.atn org.antlr.v4.runtime.misc -
-
Uses of IntervalSet in org.antlr.v4.runtime
Fields in org.antlr.v4.runtime declared as IntervalSet Modifier and Type Field Description protected IntervalSet
DefaultErrorStrategy. lastErrorStates
Methods in org.antlr.v4.runtime that return IntervalSet Modifier and Type Method Description protected IntervalSet
DefaultErrorStrategy. getErrorRecoverySet(Parser recognizer)
protected IntervalSet
DefaultErrorStrategy. getExpectedTokens(Parser recognizer)
IntervalSet
Parser. getExpectedTokens()
Computes the set of input symbols which could follow the current parser state and context, as given byRecognizer.getState()
andParser.getContext()
, respectively.IntervalSet
RecognitionException. getExpectedTokens()
Gets the set of input symbols which could potentially follow the previously matched symbol at the time this exception was thrown.IntervalSet
Parser. getExpectedTokensWithinCurrentRule()
Methods in org.antlr.v4.runtime with parameters of type IntervalSet Modifier and Type Method Description protected void
DefaultErrorStrategy. consumeUntil(Parser recognizer, IntervalSet set)
Consume tokens until one matches the given token set. -
Uses of IntervalSet in org.antlr.v4.runtime.atn
Fields in org.antlr.v4.runtime.atn declared as IntervalSet Modifier and Type Field Description IntervalSet
ATNState. nextTokenWithinRule
Used to cache lookahead during parsing, not used during constructionIntervalSet
SetTransition. set
Methods in org.antlr.v4.runtime.atn that return IntervalSet Modifier and Type Method Description IntervalSet[]
LL1Analyzer. getDecisionLookahead(ATNState s)
Calculates the SLL(1) expected lookahead set for each outgoing transition of anATNState
.IntervalSet
ATN. getExpectedTokens(int stateNumber, RuleContext context)
Computes the set of input symbols which could follow ATN state numberstateNumber
in the specified fullcontext
.IntervalSet
AtomTransition. label()
IntervalSet
RangeTransition. label()
IntervalSet
SetTransition. label()
IntervalSet
Transition. label()
IntervalSet
LL1Analyzer. LOOK(ATNState s, ATNState stopState, RuleContext ctx)
Compute set of tokens that can follows
in the ATN in the specifiedctx
.IntervalSet
LL1Analyzer. LOOK(ATNState s, RuleContext ctx)
Compute set of tokens that can follows
in the ATN in the specifiedctx
.IntervalSet
ATN. nextTokens(ATNState s)
Compute the set of valid tokens that can occur starting ins
and staying in same rule.IntervalSet
ATN. nextTokens(ATNState s, RuleContext ctx)
Compute the set of valid tokens that can occur starting in states
.Methods in org.antlr.v4.runtime.atn with parameters of type IntervalSet Modifier and Type Method Description protected void
LL1Analyzer. _LOOK(ATNState s, ATNState stopState, PredictionContext ctx, IntervalSet look, Set<ATNConfig> lookBusy, BitSet calledRuleStack, boolean seeThruPreds, boolean addEOF)
Compute set of tokens that can follows
in the ATN in the specifiedctx
.Method parameters in org.antlr.v4.runtime.atn with type arguments of type IntervalSet Modifier and Type Method Description protected Transition
ATNDeserializer. edgeFactory(ATN atn, int type, int src, int trg, int arg1, int arg2, int arg3, List<IntervalSet> sets)
Constructors in org.antlr.v4.runtime.atn with parameters of type IntervalSet Constructor Description NotSetTransition(ATNState target, IntervalSet set)
SetTransition(ATNState target, IntervalSet set)
-
Uses of IntervalSet in org.antlr.v4.runtime.misc
Fields in org.antlr.v4.runtime.misc declared as IntervalSet Modifier and Type Field Description static IntervalSet
IntervalSet. COMPLETE_CHAR_SET
static IntervalSet
IntervalSet. EMPTY_SET
Methods in org.antlr.v4.runtime.misc that return IntervalSet Modifier and Type Method Description IntervalSet
IntervalSet. addAll(IntSet set)
IntervalSet
IntervalSet. and(IntSet other)
Return a newIntSet
object containing all elements that are present in both the current set and the specified seta
.IntervalSet
IntervalSet. complement(int minElement, int maxElement)
IntervalSet
IntervalSet. complement(IntSet vocabulary)
Return a newIntSet
object containing all elements that are present inelements
but not present in the current set.static IntervalSet
IntervalSet. of(int a)
Create a set with a single element, el.static IntervalSet
IntervalSet. of(int a, int b)
Create a set with all ints within range [a..b] (inclusive)static IntervalSet
IntervalSet. or(IntervalSet[] sets)
combine all sets in the array returned the or'd valueIntervalSet
IntervalSet. or(IntSet a)
static IntervalSet
IntervalSet. subtract(IntervalSet left, IntervalSet right)
Compute the set difference between two interval sets.IntervalSet
IntervalSet. subtract(IntSet a)
static IntervalSet
Utils. toSet(BitSet bits)
Methods in org.antlr.v4.runtime.misc with parameters of type IntervalSet Modifier and Type Method Description static IntervalSet
IntervalSet. or(IntervalSet[] sets)
combine all sets in the array returned the or'd valuestatic IntervalSet
IntervalSet. subtract(IntervalSet left, IntervalSet right)
Compute the set difference between two interval sets.Constructors in org.antlr.v4.runtime.misc with parameters of type IntervalSet Constructor Description IntervalSet(IntervalSet set)
-