Class: Antlr4::Runtime::BlockStartState

Inherits:
DecisionState show all
Defined in:
lib/antlr4/runtime/block_start_state.rb

Constant Summary

Constants inherited from ATNState

ATNState::BASIC, ATNState::BLOCK_END, ATNState::BLOCK_START, ATNState::INITIAL_NUM_TRANSITIONS, 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

Attributes inherited from DecisionState

#decision, #non_greedy

Attributes inherited from ATNState

#atn, #next_token_within_rule, #rule_index, #state_number, #transitions

Instance Method Summary collapse

Methods inherited from ATNState

#add_transition, #add_transition_at, #eql?, #hash, #non_greedy_exit_state?, #number_of_transitions, #only_has_epsilon_transitions, #remove_transition, #set_rule_index, #set_transition, #to_s, #transition

Constructor Details

#initializeBlockStartState

Returns a new instance of BlockStartState



5
6
7
8
# File 'lib/antlr4/runtime/block_start_state.rb', line 5

def initialize
  super
  @end_state = nil
end

Instance Attribute Details

#end_stateObject

Returns the value of attribute end_state



3
4
5
# File 'lib/antlr4/runtime/block_start_state.rb', line 3

def end_state
  @end_state
end