Uses of Class
org.antlr.v4.runtime.atn.ATNConfig
-
Packages that use ATNConfig Package Description org.antlr.v4.runtime.atn -
-
Uses of ATNConfig in org.antlr.v4.runtime.atn
Subclasses of ATNConfig in org.antlr.v4.runtime.atn Modifier and Type Class Description class
LexerATNConfig
Fields in org.antlr.v4.runtime.atn with type parameters of type ATNConfig Modifier and Type Field Description ArrayList<ATNConfig>
ATNConfigSet. configs
Track the elements as they are added to the set; supports get(i)Methods in org.antlr.v4.runtime.atn that return ATNConfig Modifier and Type Method 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, boolean treatEofAsEpsilon)
ATNConfig
ParserATNSimulator. precedenceTransition(ATNConfig config, PrecedencePredicateTransition pt, 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()
Methods in org.antlr.v4.runtime.atn that return types with arguments of type ATNConfig Modifier and Type Method Description List<ATNConfig>
ATNConfigSet. elements()
Return a List holding list of configsIterator<ATNConfig>
ATNConfigSet. iterator()
Methods in org.antlr.v4.runtime.atn with parameters of type ATNConfig Modifier and Type Method 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, _)
, wheres
is thestate
,i
is thealt
, andpi
is thesemanticContext
.protected boolean
ParserATNSimulator. canDropLoopEntryEdgeInLeftRecursiveRule(ATNConfig config)
Implements first-edge (loop entry) elimination as an optimization during closure operations.protected void
ParserATNSimulator. closure(ATNConfig config, ATNConfigSet configs, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean fullCtx, boolean treatEofAsEpsilon)
protected void
ParserATNSimulator. closure_(ATNConfig config, ATNConfigSet configs, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean fullCtx, int depth, boolean treatEofAsEpsilon)
Do the actual work of walking epsilon edgesprotected void
ParserATNSimulator. closureCheckingStopState(ATNConfig config, ATNConfigSet configs, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean fullCtx, int depth, boolean treatEofAsEpsilon)
boolean
ATNConfigSet. containsFast(ATNConfig obj)
boolean
ATNConfig. equals(ATNConfig other)
boolean
ATNConfigSet.ConfigEqualityComparator. equals(ATNConfig a, ATNConfig b)
boolean
LexerATNConfig. equals(ATNConfig other)
protected ATNConfig
ParserATNSimulator. getEpsilonTarget(ATNConfig config, Transition t, boolean collectPredicates, boolean inContext, boolean fullCtx, boolean treatEofAsEpsilon)
int
ATNConfigSet.ConfigEqualityComparator. hashCode(ATNConfig o)
ATNConfig
ParserATNSimulator. precedenceTransition(ATNConfig config, PrecedencePredicateTransition pt, 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)
Method parameters in org.antlr.v4.runtime.atn with type arguments of type ATNConfig 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
.boolean
ATNConfigSet. addAll(Collection<? extends ATNConfig> coll)
protected void
ParserATNSimulator. closure(ATNConfig config, ATNConfigSet configs, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean fullCtx, boolean treatEofAsEpsilon)
protected void
ParserATNSimulator. closure_(ATNConfig config, ATNConfigSet configs, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean fullCtx, int depth, boolean treatEofAsEpsilon)
Do the actual work of walking epsilon edgesprotected void
ParserATNSimulator. closureCheckingStopState(ATNConfig config, ATNConfigSet configs, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean fullCtx, int depth, boolean treatEofAsEpsilon)
Constructors in org.antlr.v4.runtime.atn with parameters of type ATNConfig Constructor 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 parameters in org.antlr.v4.runtime.atn with type arguments of type ATNConfig Constructor Description AbstractConfigHashSet(AbstractEqualityComparator<? super ATNConfig> comparator)
AbstractConfigHashSet(AbstractEqualityComparator<? super ATNConfig> comparator, int initialCapacity, int initialBucketCapacity)
-