Class: Cyrel::AST::SetNode
- Inherits:
-
ClauseNode
- Object
- Node
- ClauseNode
- Cyrel::AST::SetNode
- Defined in:
- lib/cyrel/ast/set_node.rb
Instance Attribute Summary collapse
-
#assignments ⇒ Object
readonly
Returns the value of attribute assignments.
Instance Method Summary collapse
-
#initialize(assignments) ⇒ SetNode
constructor
A new instance of SetNode.
Methods inherited from Node
Constructor Details
#initialize(assignments) ⇒ SetNode
Returns a new instance of SetNode.
8 9 10 11 |
# File 'lib/cyrel/ast/set_node.rb', line 8 def initialize(assignments) # assignments is an array of processed assignment tuples @assignments = assignments end |
Instance Attribute Details
#assignments ⇒ Object (readonly)
Returns the value of attribute assignments.
6 7 8 |
# File 'lib/cyrel/ast/set_node.rb', line 6 def assignments @assignments end |