public final class PlusBlockStartState extends BlockStartState
(A|B|...)+
loop. Technically a decision state, but
we don't use for code generation; somebody might need it, so I'm defining
it for completeness. In reality, the PlusLoopbackState
node is the
real decision-making note for A+
.Modifier and Type | Field and Description |
---|---|
PlusLoopbackState |
loopBackState |
endState
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 |
---|
PlusBlockStartState() |
Modifier and Type | Method and Description |
---|---|
int |
getStateType() |
addTransition, equals, getNumberOfTransitions, getTransitions, hashCode, isNonGreedyExitState, onlyHasEpsilonTransitions, removeTransition, setRuleIndex, setTransition, toString, transition
public PlusLoopbackState loopBackState
public int getStateType()
getStateType
in class ATNState
Copyright © 1992-2013 ANTLR. All Rights Reserved.