Class: RLSL::Prism::IR::MultipleAssignment
- Defined in:
- lib/rlsl/prism/ir/definitions.rb
Instance Attribute Summary collapse
-
#targets ⇒ Object
readonly
Returns the value of attribute targets.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(targets, value) ⇒ MultipleAssignment
constructor
A new instance of MultipleAssignment.
Methods inherited from Node
Constructor Details
#initialize(targets, value) ⇒ MultipleAssignment
Returns a new instance of MultipleAssignment.
46 47 48 49 50 51 |
# File 'lib/rlsl/prism/ir/definitions.rb', line 46 def initialize(targets, value) super() @targets = targets @value = value @type = nil end |
Instance Attribute Details
#targets ⇒ Object (readonly)
Returns the value of attribute targets.
42 43 44 |
# File 'lib/rlsl/prism/ir/definitions.rb', line 42 def targets @targets end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
42 43 44 |
# File 'lib/rlsl/prism/ir/definitions.rb', line 42 def value @value end |