Package org.antlr.v4.runtime.atn
Class PlusLoopbackState
- java.lang.Object
-
- org.antlr.v4.runtime.atn.ATNState
-
- org.antlr.v4.runtime.atn.DecisionState
-
- org.antlr.v4.runtime.atn.PlusLoopbackState
-
public final class PlusLoopbackState extends DecisionState
Decision state forA+
and(A|B)+
. It has two transitions: one to the loop back to start of the block and one to exit.
-
-
Field Summary
-
Fields inherited from class org.antlr.v4.runtime.atn.DecisionState
decision, nonGreedy
-
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 PlusLoopbackState()
-
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
-
-