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



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

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

#inizialice(sub) ⇒ Object



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

def inizialice(sub)
  super(sub)
end