Class: Languages::EndBlock Abstract
- Inherits:
-
Object
- Object
- Languages::EndBlock
- Defined in:
- lib/kuniri/language/abstract_container/structured_and_oo/end_block.rb
Overview
This class is abstract.
Class responsible for handling end block of each language.
Direct Known Subclasses
Instance Method Summary collapse
-
#detect_end(pLine) ⇒ Object
protected
Keeps some operation for find line.
-
#has_end_of_block?(pLine) ⇒ Boolean
Verify if line has an end of line token.
Instance Method Details
#detect_end(pLine) ⇒ Object (protected)
Keeps some operation for find line.
19 20 21 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/end_block.rb', line 19 def detect_end(pLine) raise NotImplementedError end |
#has_end_of_block?(pLine) ⇒ Boolean
Verify if line has an end of line token.
11 12 13 |
# File 'lib/kuniri/language/abstract_container/structured_and_oo/end_block.rb', line 11 def has_end_of_block?(pLine) raise NotImplementedError end |