Package org.antlr.v4.runtime.atn
Class StarLoopEntryState
java.lang.Object
org.antlr.v4.runtime.atn.ATNState
org.antlr.v4.runtime.atn.DecisionState
org.antlr.v4.runtime.atn.StarLoopEntryState
-
Field Summary
FieldsModifier and TypeFieldDescriptionFor 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.booleanIndicates whether this state can benefit from a precedence DFA during SLL decision making.Fields inherited from class org.antlr.v4.runtime.atn.DecisionState
decision, nonGreedy, sllFields inherited from class org.antlr.v4.runtime.atn.ATNState
atn, 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 Summary
Constructors -
Method Summary
Methods inherited from class org.antlr.v4.runtime.atn.ATNState
addOptimizedTransition, addTransition, addTransition, equals, freezeOptimizedTransitions, frozenOptimizedTransitions, getNonStopStateNumber, getNumberOfOptimizedTransitions, getNumberOfTransitions, getOptimizedTransition, getStateNumber, getTransitions, hashCode, isNonGreedyExitState, isOptimized, onlyHasEpsilonTransitions, removeOptimizedTransition, removeTransition, setOptimizedTransition, setRuleIndex, setTransition, toString, transition
-
Field Details
-
loopBackState
-
precedenceRuleDecision
public boolean precedenceRuleDecisionIndicates whether this state can benefit from a precedence DFA during SLL decision making.This is a computed property that is calculated during ATN deserialization and stored for use in
ParserATNSimulatorandParserInterpreter.- See Also:
-
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.
This field is
nullwhenprecedenceRuleDecisionisfalse.
-
-
Constructor Details
-
StarLoopEntryState
public StarLoopEntryState()
-
-
Method Details
-
getStateType
public int getStateType()- Specified by:
getStateTypein classATNState
-