Class: ReturnStructure
- Inherits:
-
StatementStructure
- Object
- Array
- StatementStructure
- ReturnStructure
- Defined in:
- lib/core/structure/ReturnStructure.rb
Overview
Returns statements that return values
Example:
return 7
return var
Constant Summary
Constants inherited from StatementStructure
StatementStructure::BLANK_STATEMENT, StatementStructure::DECLARATION_STATEMENT, StatementStructure::IF_STATEMENT, StatementStructure::MISC_STATEMENT, StatementStructure::MODIFYING_STATEMENT, StatementStructure::RETURN_STATEMENT, StatementStructure::USAGE_STATEMENT
Instance Method Summary collapse
-
#initialize ⇒ ReturnStructure
constructor
A new instance of ReturnStructure.
- #statements(available = []) ⇒ Object
Methods inherited from Array
#cauldron_method_calls, #contains?, #copy, #select_all, #to_declaration, #to_intrinsic, #to_literal, #to_var, #write
Constructor Details
#initialize ⇒ ReturnStructure
Returns a new instance of ReturnStructure.
9 10 11 |
# File 'lib/core/structure/ReturnStructure.rb', line 9 def initialize() super() end |