Class: LoopEndState
Overview
Mark the end of a * or + loop.
Constant Summary
Constants inherited from ATNState
ATNState::BASIC, ATNState::BLOCK_END, ATNState::BLOCK_START, ATNState::INVALID_STATE_NUMBER, ATNState::INVALID_TYPE, ATNState::LOOP_END, ATNState::PLUS_BLOCK_START, ATNState::PLUS_LOOP_BACK, ATNState::RULE_START, ATNState::RULE_STOP, ATNState::STAR_BLOCK_START, ATNState::STAR_LOOP_BACK, ATNState::STAR_LOOP_ENTRY, ATNState::TOKEN_START
Instance Attribute Summary collapse
-
#loopBackState ⇒ Object
Returns the value of attribute loopBackState.
Attributes inherited from ATNState
#atn, #epsilonOnlyTransitions, #nextTokenWithinRule, #ruleIndex, #serializationNames, #stateNumber, #stateType, #transitions
Instance Method Summary collapse
-
#initialize ⇒ LoopEndState
constructor
A new instance of LoopEndState.
Methods inherited from ATNState
#==, #addTransition, #hash, #inspect, #isNonGreedyExitState, #onlyHasEpsilonTransitions, #to_s
Constructor Details
#initialize ⇒ LoopEndState
Returns a new instance of LoopEndState.
239 240 241 242 243 |
# File 'lib/antlr4/atn/ATNState.rb', line 239 def initialize super() self.stateType = ATNState::LOOP_END self.loopBackState = nil end |
Instance Attribute Details
#loopBackState ⇒ Object
Returns the value of attribute loopBackState.
238 239 240 |
# File 'lib/antlr4/atn/ATNState.rb', line 238 def loopBackState @loopBackState end |