Module: Idl::Returns
- Included in:
- ConditionalReturnStatementAst, ElseIfAst, ForLoopAst, FunctionBodyAst, IfAst, IfBodyAst, ReturnStatementAst
- Defined in:
- lib/idl/ast.rb
Overview
interface for nodes that might return a value in a function body
Instance Method Summary collapse
Instance Method Details
#return_value(symtab) ⇒ Object
444 |
# File 'lib/idl/ast.rb', line 444 def return_value(symtab) = raise NotImplementedError, "#{self.class.name} must implement return_value" |
#return_values(symtab) ⇒ Object
457 |
# File 'lib/idl/ast.rb', line 457 def return_values(symtab) = raise NotImplementedError, "#{self.class.name} must implement return_values" |