Package org.antlr.v4.runtime.atn
Class RuleStopState
- java.lang.Object
-
- org.antlr.v4.runtime.atn.ATNState
-
- org.antlr.v4.runtime.atn.RuleStopState
-
public final class RuleStopState extends ATNState
The last node in the ATN for a rule, unless that rule is the start symbol. In that case, there is one transition to EOF. Later, we might encode references to all calls to this rule to compute FOLLOW sets for error handling.
-
-
Field Summary
-
Fields 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, 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 Constructor Description RuleStopState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStateType()
-
Methods inherited from class org.antlr.v4.runtime.atn.ATNState
addTransition, addTransition, equals, getNumberOfTransitions, getTransitions, hashCode, isNonGreedyExitState, onlyHasEpsilonTransitions, removeTransition, setRuleIndex, setTransition, toString, transition
-
-
-
-
Method Detail
-
getStateType
public int getStateType()
- Specified by:
getStateType
in classATNState
-
-