Module: Idl::Returns

Overview

interface for nodes that might return a value in a function body

Instance Method Summary collapse

Instance Method Details

#return_value(symtab) ⇒ Object

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


457
# File 'lib/idl/ast.rb', line 457

def return_values(symtab) = raise NotImplementedError, "#{self.class.name} must implement return_values"