Class: StarLoopEntryState
- Inherits:
-
DecisionState
- Object
- ATNState
- DecisionState
- StarLoopEntryState
- Defined in:
- lib/antlr4/atn/ATNState.rb
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.
-
#precedenceRuleDecision ⇒ Object
Returns the value of attribute precedenceRuleDecision.
Attributes inherited from DecisionState
Attributes inherited from ATNState
#atn, #epsilonOnlyTransitions, #nextTokenWithinRule, #ruleIndex, #serializationNames, #stateNumber, #stateType, #transitions
Instance Method Summary collapse
-
#initialize ⇒ StarLoopEntryState
constructor
A new instance of StarLoopEntryState.
Methods inherited from ATNState
#==, #addTransition, #hash, #inspect, #isNonGreedyExitState, #onlyHasEpsilonTransitions, #to_s
Constructor Details
#initialize ⇒ StarLoopEntryState
Returns a new instance of StarLoopEntryState.
226 227 228 229 230 231 232 |
# File 'lib/antlr4/atn/ATNState.rb', line 226 def initialize super() self.stateType = ATNState::STAR_LOOP_ENTRY self.loopBackState = nil # Indicates whether this state can benefit from a precedence DFA during SLL decision making. self.precedenceRuleDecision = nil end |
Instance Attribute Details
#loopBackState ⇒ Object
Returns the value of attribute loopBackState.
225 226 227 |
# File 'lib/antlr4/atn/ATNState.rb', line 225 def loopBackState @loopBackState end |
#precedenceRuleDecision ⇒ Object
Returns the value of attribute precedenceRuleDecision.
225 226 227 |
# File 'lib/antlr4/atn/ATNState.rb', line 225 def precedenceRuleDecision @precedenceRuleDecision end |