public final class PlusLoopbackState extends DecisionState
A+
and (A|B)+
. It has two transitions:
one to the loop back to start of the block and one to exit.decision, nonGreedy
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 and Description |
---|
PlusLoopbackState() |
Modifier and Type | Method and Description |
---|---|
int |
getStateType() |
addTransition, addTransition, equals, getNumberOfTransitions, getTransitions, hashCode, isNonGreedyExitState, onlyHasEpsilonTransitions, removeTransition, setRuleIndex, setTransition, toString, transition
public int getStateType()
getStateType
in class ATNState
Copyright © 1992–2014 ANTLR. All rights reserved.