Class: Antlr4ruby::BlockStartState Abstract
- Inherits:
-
DecisionState
- Object
- ATNState
- DecisionState
- Antlr4ruby::BlockStartState
- Defined in:
- lib/antlr4ruby/atn/state/block_start_state.rb
Overview
Direct Known Subclasses
BasicBlockStartState, PlusBlockStartState, StarBlockStartState
Constant Summary
Constants inherited from ATNState
ATNState::BASIC, ATNState::BLOCK_END, ATNState::BLOCK_START, ATNState::INITIAL_NUM_TRANSITIONS, 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
-
#end_state ⇒ Object
Returns the value of attribute end_state.
Attributes inherited from DecisionState
Attributes inherited from ATNState
#atn, #epsilon_only_transitions, #next_token_within_rule, #rule_index, #state_number
Instance Method Summary collapse
-
#get_state_type ⇒ Object
似乎应该这样.
Methods inherited from DecisionState
Methods inherited from ATNState
#add_transition, #eql?, #get_number_of_transitions, #get_transition, #hash, #initialize, #only_has_epsilon_transitions?, #remove_transition, #set_rule_index, #set_transition, #to_s
Constructor Details
This class inherits a constructor from Antlr4ruby::DecisionState
Instance Attribute Details
#end_state ⇒ Object
Returns the value of attribute end_state.
6 7 8 |
# File 'lib/antlr4ruby/atn/state/block_start_state.rb', line 6 def end_state @end_state end |
Instance Method Details
#get_state_type ⇒ Object
似乎应该这样
9 10 11 |
# File 'lib/antlr4ruby/atn/state/block_start_state.rb', line 9 def get_state_type BLOCK_START end |