public final class StarLoopEntryState extends DecisionState
| Modifier and Type | Field and Description |
|---|---|
StarLoopbackState |
loopBackState |
BitSet |
precedenceLoopbackStates
For precedence decisions, this set marks states S which have all
of the following characteristics:
One or more invocation sites of the current rule returns to
S.
The closure from S includes the current decision without
passing through any rule invocations or stepping out of the current
rule.
|
boolean |
precedenceRuleDecision
Indicates whether this state can benefit from a precedence DFA during SLL
decision making.
|
decision, nonGreedy, sllatn, BASIC, BLOCK_END, BLOCK_START, epsilonOnlyTransitions, INITIAL_NUM_TRANSITIONS, INVALID_STATE_NUMBER, INVALID_TYPE, LOOP_END, nextTokenWithinRule, optimizedTransitions, PLUS_BLOCK_START, PLUS_LOOP_BACK, RULE_START, RULE_STOP, ruleIndex, serializationNames, STAR_BLOCK_START, STAR_LOOP_BACK, STAR_LOOP_ENTRY, stateNumber, TOKEN_START, transitions| Constructor and Description |
|---|
StarLoopEntryState() |
| Modifier and Type | Method and Description |
|---|---|
int |
getStateType() |
addOptimizedTransition, addTransition, addTransition, equals, getNonStopStateNumber, getNumberOfOptimizedTransitions, getNumberOfTransitions, getOptimizedTransition, getStateNumber, getTransitions, hashCode, isNonGreedyExitState, isOptimized, onlyHasEpsilonTransitions, removeOptimizedTransition, removeTransition, setOptimizedTransition, setRuleIndex, setTransition, toString, transitionpublic StarLoopbackState loopBackState
public boolean precedenceRuleDecision
This is a computed property that is calculated during ATN deserialization
and stored for use in ParserATNSimulator and
ParserInterpreter.
DFA.isPrecedenceDfa()public BitSet precedenceLoopbackStates
This field is null when precedenceRuleDecision is
false.
public int getStateType()
getStateType in class ATNStateCopyright © 1992–2024 Daniel Sun. All rights reserved.