Class: BlockEndState
Overview
Terminal node of a simple (a|b|c) block.
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
-
#startState ⇒ Object
Returns the value of attribute startState.
Attributes inherited from ATNState
#atn, #epsilonOnlyTransitions, #nextTokenWithinRule, #ruleIndex, #serializationNames, #stateNumber, #stateType, #transitions
Instance Method Summary collapse
-
#initialize ⇒ BlockEndState
constructor
A new instance of BlockEndState.
Methods inherited from ATNState
#==, #addTransition, #hash, #inspect, #isNonGreedyExitState, #onlyHasEpsilonTransitions, #to_s
Constructor Details
#initialize ⇒ BlockEndState
Returns a new instance of BlockEndState.
147 148 149 150 151 |
# File 'lib/antlr4/atn/ATNState.rb', line 147 def initialize super() self.stateType = ATNState::BLOCK_END self.startState = nil end |
Instance Attribute Details
#startState ⇒ Object
Returns the value of attribute startState.
146 147 148 |
# File 'lib/antlr4/atn/ATNState.rb', line 146 def startState @startState end |