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



64
65
66
# File 'lib/ast.rb', line 64

def evaluate()
  $calc.memory = @subTree.evaluate()
end

#intialize(subTree) ⇒ Object



61
62
63
# File 'lib/ast.rb', line 61

def intialize(subTree)
  super(subTree)
end