Class: StoreNode

Inherits:
UnaryNode show all
Defined in:
lib/ast.rb

Instance Attribute Summary

Attributes inherited from UnaryNode

#subTree

Instance Method Summary collapse

Methods inherited from UnaryNode

#initialize

Constructor Details

This class inherits a constructor from UnaryNode

Instance Method Details

#evaluateObject



85
86
87
# File 'lib/ast.rb', line 85

def evaluate
  $calc.memory=subTree.evaluate
end

#initializa(sub) ⇒ Object



81
82
83
# File 'lib/ast.rb', line 81

def initializa(sub)
  super(sub)
end