Class: FAM::Syntax::AST::StoreNode

Inherits:
Node show all
Defined in:
lib/fam/syntax/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#to_s

Constructor Details

#initialize(value, to) ⇒ StoreNode

Returns a new instance of StoreNode.



47
48
49
50
# File 'lib/fam/syntax/ast.rb', line 47

def initialize value, to
  @value = value
  @to = to
end

Instance Attribute Details

#toObject

Returns the value of attribute to.



46
47
48
# File 'lib/fam/syntax/ast.rb', line 46

def to
  @to
end

#valueObject

Returns the value of attribute value.



46
47
48
# File 'lib/fam/syntax/ast.rb', line 46

def value
  @value
end