Class: StateMachine::OOStructuredFSM::OOStructuredState Abstract
- Inherits:
-
Object
- Object
- StateMachine::OOStructuredFSM::OOStructuredState
- Defined in:
- lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb
Overview
State machine for oriented object and structured paradigm.
Direct Known Subclasses
AggregationState, AttributeState, BasicStructureState, ClassState, CommentState, FunctionBehaviourState, FunctionState, IdleState, IncludeState, ModuleState, VariableState
Instance Method Summary collapse
-
#aggregation_capture ⇒ Object
Handling aggregation state.
-
#attribute_capture ⇒ Object
Handling attribute state.
-
#class_capture ⇒ Object
Handling class state, i.e, this state is enable when any class is match.
-
#comment_capture ⇒ Object
Handling comment.
-
#conditional_capture ⇒ Object
Handling conditional state.
-
#constructor_capture ⇒ Object
Handling constructor, only after class state.
-
#execute(pElementFile, pLine) ⇒ Object
Method responsible for make the state machine go forward.
-
#function_capture ⇒ Object
Handling function, it is related with structured state but not exclusively.
-
#handle_line(pLine) ⇒ Object
Method responsible each line, and decide which way to go inside state machine.
-
#idle_capture ⇒ Object
Idle state, waiting for action! =D.
-
#include_capture ⇒ Object
Handling external include.
-
#method_capture ⇒ Object
Handling method state, this state is enable only after class state.
-
#module_capture ⇒ Object
Handling module, it can be oriented object or structured.
-
#repetition_capture ⇒ Object
Handling repetition state.
-
#variable_capture ⇒ Object
Handling variable.
Instance Method Details
#aggregation_capture ⇒ Object
Handling aggregation state
68 69 70 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 68 def aggregation_capture raise NotImplementedError end |
#attribute_capture ⇒ Object
Handling attribute state.
32 33 34 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 32 def attribute_capture raise NotImplementedError end |
#class_capture ⇒ Object
Handling class state, i.e, this state is enable when any class is match
17 18 19 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 17 def class_capture raise NotImplementedError end |
#comment_capture ⇒ Object
Handling comment
78 79 80 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 78 def comment_capture raise NotImplementedError end |
#conditional_capture ⇒ Object
Handling conditional state
63 64 65 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 63 def conditional_capture raise NotImplementedError end |
#constructor_capture ⇒ Object
Handling constructor, only after class state.
27 28 29 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 27 def constructor_capture raise NotImplementedError end |
#execute(pElementFile, pLine) ⇒ Object
Method responsible for make the state machine go forward.
86 87 88 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 86 def execute(pElementFile, pLine) raise NotImplementedError end |
#function_capture ⇒ Object
Handling function, it is related with structured state but not exclusively.
43 44 45 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 43 def function_capture raise NotImplementedError end |
#handle_line(pLine) ⇒ Object
Method responsible each line, and decide which way to go inside state machine.
12 13 14 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 12 def handle_line(pLine) raise NotImplementedError end |
#idle_capture ⇒ Object
Idle state, waiting for action! =D
58 59 60 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 58 def idle_capture raise NotImplementedError end |
#include_capture ⇒ Object
Handling external include
48 49 50 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 48 def include_capture raise NotImplementedError end |
#method_capture ⇒ Object
Handling method state, this state is enable only after class state.
22 23 24 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 22 def method_capture raise NotImplementedError end |
#module_capture ⇒ Object
Handling module, it can be oriented object or structured.
37 38 39 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 37 def module_capture raise NotImplementedError end |
#repetition_capture ⇒ Object
Handling repetition state
73 74 75 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 73 def repetition_capture raise NotImplementedError end |
#variable_capture ⇒ Object
Handling variable
53 54 55 |
# File 'lib/kuniri/state_machine/OO_structured_fsm/oo_structured_state.rb', line 53 def variable_capture raise NotImplementedError end |