Class: Pione::Lang::ExprDeclaration

Inherits:
Declaration
  • Object
show all
Defined in:
lib/pione/lang/declaration.rb

Instance Method Summary collapse

Methods inherited from Declaration

#eval!, inherited

Methods included from Util::Positionable

#line_and_column, #pos, #set_source_position

Instance Method Details

#eval(env) ⇒ Object

Return evaluation result of the value.



254
255
256
# File 'lib/pione/lang/declaration.rb', line 254

def eval(env)
  expr.eval(env)
end