Package | Description |
---|---|
org.antlr.v4.runtime.atn |
Modifier and Type | Class and Description |
---|---|
class |
LexerATNConfig |
Modifier and Type | Field and Description |
---|---|
ArrayList<ATNConfig> |
ATNConfigSet.configs
Track the elements as they are added to the set; supports get(i)
|
Modifier and Type | Method and Description |
---|---|
protected ATNConfig |
ParserATNSimulator.actionTransition(ATNConfig config,
ActionTransition t) |
protected ATNConfig |
ATNConfigSet.AbstractConfigHashSet.asElementType(Object o) |
protected ATNConfig[] |
ATNConfigSet.AbstractConfigHashSet.createBucket(int capacity) |
protected ATNConfig[][] |
ATNConfigSet.AbstractConfigHashSet.createBuckets(int capacity) |
ATNConfig |
ATNConfigSet.get(int i) |
protected ATNConfig |
ParserATNSimulator.getEpsilonTarget(ATNConfig config,
Transition t,
boolean collectPredicates,
boolean inContext,
boolean fullCtx) |
protected ATNConfig |
ParserATNSimulator.predTransition(ATNConfig config,
PredicateTransition pt,
boolean collectPredicates,
boolean inContext,
boolean fullCtx) |
protected ATNConfig |
ParserATNSimulator.ruleTransition(ATNConfig config,
RuleTransition t) |
ATNConfig[] |
ATNConfigSet.toArray() |
Modifier and Type | Method and Description |
---|---|
List<ATNConfig> |
ATNConfigSet.elements()
Return a List holding list of configs
|
Iterator<ATNConfig> |
ATNConfigSet.iterator() |
Modifier and Type | Method and Description |
---|---|
protected ATNConfig |
ParserATNSimulator.actionTransition(ATNConfig config,
ActionTransition t) |
boolean |
ATNConfigSet.add(ATNConfig config) |
boolean |
ATNConfigSet.add(ATNConfig config,
DoubleKeyMap<PredictionContext,PredictionContext,PredictionContext> mergeCache)
Adding a new config means merging contexts with existing configs for
(s, i, pi, _) , where s is the
state , i is the alt , and
pi is the semanticContext . |
protected void |
ParserATNSimulator.closure_(ATNConfig config,
ATNConfigSet configs,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean fullCtx,
int depth)
Do the actual work of walking epsilon edges
|
protected void |
ParserATNSimulator.closure(ATNConfig config,
ATNConfigSet configs,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean fullCtx) |
protected void |
ParserATNSimulator.closureCheckingStopState(ATNConfig config,
ATNConfigSet configs,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean fullCtx,
int depth) |
boolean |
ATNConfigSet.containsFast(ATNConfig obj) |
boolean |
LexerATNConfig.equals(ATNConfig other) |
boolean |
ATNConfig.equals(ATNConfig other) |
boolean |
ATNConfigSet.ConfigEqualityComparator.equals(ATNConfig a,
ATNConfig b) |
protected ATNConfig |
ParserATNSimulator.getEpsilonTarget(ATNConfig config,
Transition t,
boolean collectPredicates,
boolean inContext,
boolean fullCtx) |
int |
ATNConfigSet.ConfigEqualityComparator.hashCode(ATNConfig o) |
protected ATNConfig |
ParserATNSimulator.predTransition(ATNConfig config,
PredicateTransition pt,
boolean collectPredicates,
boolean inContext,
boolean fullCtx) |
protected ATNConfig |
ParserATNSimulator.ruleTransition(ATNConfig config,
RuleTransition t) |
Modifier and Type | Method and 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 follow
s in the ATN in the
specified ctx . |
boolean |
ATNConfigSet.addAll(Collection<? extends ATNConfig> coll) |
protected void |
ParserATNSimulator.closure_(ATNConfig config,
ATNConfigSet configs,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean fullCtx,
int depth)
Do the actual work of walking epsilon edges
|
protected void |
ParserATNSimulator.closure(ATNConfig config,
ATNConfigSet configs,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean fullCtx) |
protected void |
ParserATNSimulator.closureCheckingStopState(ATNConfig config,
ATNConfigSet configs,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean fullCtx,
int depth) |
Constructor and Description |
---|
ATNConfig(ATNConfig old) |
ATNConfig(ATNConfig c,
ATNState state) |
ATNConfig(ATNConfig c,
ATNState state,
PredictionContext context) |
ATNConfig(ATNConfig c,
ATNState state,
PredictionContext context,
SemanticContext semanticContext) |
ATNConfig(ATNConfig c,
ATNState state,
SemanticContext semanticContext) |
ATNConfig(ATNConfig c,
SemanticContext semanticContext) |
Constructor and Description |
---|
ATNConfigSet.AbstractConfigHashSet(AbstractEqualityComparator<? super ATNConfig> comparator) |
ATNConfigSet.AbstractConfigHashSet(AbstractEqualityComparator<? super ATNConfig> comparator,
int initialCapacity,
int initialBucketCapacity) |
Copyright © 1992-2013 ANTLR. All Rights Reserved.