Class: StateMachine::OOStructuredFSM::ConstructorState

Inherits:
FunctionBehaviourState show all
Defined in:
lib/kuniri/state_machine/OO_structured_fsm/constructor_state.rb

Overview

Class responsible for handling constructor state.

Instance Method Summary collapse

Methods inherited from FunctionBehaviourState

#aggregation_capture, #class_capture, #conditional_capture, #execute, #handle_line, #repetition_capture

Methods inherited from OOStructuredState

#aggregation_capture, #attribute_capture, #class_capture, #comment_capture, #conditional_capture, #constructor_capture, #execute, #function_capture, #handle_line, #idle_capture, #include_capture, #method_capture, #module_capture, #repetition_capture, #variable_capture

Constructor Details

#initialize(pLanguage) ⇒ ConstructorState

Returns a new instance of ConstructorState.



11
12
13
14
15
16
17
# File 'lib/kuniri/state_machine/OO_structured_fsm/constructor_state.rb', line 11

def initialize(pLanguage)
  super(
    pLanguage,
    flagState: StateMachine::CONSTRUCTOR_STATE,
    functionId: StateMachine::CONSTRUCTOR_LABEL
  )
end