Class: StoreNode
Instance Attribute Summary
Attributes inherited from UnaryNode
Instance Method Summary collapse
- #evaluate ⇒ Object
- 
  
    
      #initialize(subTree)  ⇒ StoreNode 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of StoreNode. 
Constructor Details
#initialize(subTree) ⇒ StoreNode
| 61 62 63 | # File 'lib/ast.rb', line 61 def initialize(subTree) super(subTree) end | 
Instance Method Details
#evaluate ⇒ Object
| 65 66 67 | # File 'lib/ast.rb', line 65 def evaluate $calc.memory = subTree.evaluate() end |