Class: Languages::Conditional Abstract
- Inherits:
-
Object
- Object
- Languages::Conditional
- Defined in:
- lib/kuniri/language/abstract_container/structured_and_oo/conditional.rb
Overview
This class is abstract.
Class responsible for handling conditional instructions.
Direct Known Subclasses
Instance Method Summary collapse
-
#conditional_type(pString) ⇒ Object
protected
Handling string type.
-
#detect_conditional(pLine) ⇒ Object
protected
Try to detect possible conditional in the line.
-
#get_conditional(pLine) ⇒ Object
Get conditional.
-
#get_expression(pString) ⇒ Object
protected
Try to extract the expression.
Instance Method Details
#conditional_type(pString) ⇒ Object (protected)
Handling string type
27 28 29 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/conditional.rb', line 27 def conditional_type(pString) raise NotImplementedError end |
#detect_conditional(pLine) ⇒ Object (protected)
Try to detect possible conditional in the line.
20 21 22 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/conditional.rb', line 20 def detect_conditional(pLine) raise NotImplementedError end |
#get_conditional(pLine) ⇒ Object
Get conditional
11 12 13 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/conditional.rb', line 11 def get_conditional(pLine) raise NotImplementedError end |
#get_expression(pString) ⇒ Object (protected)
Try to extract the expression.
34 35 36 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/conditional.rb', line 34 def get_expression(pString) raise NotImplementedError end |