Class: Melbourne::AST::OpAssignAnd
- Defined in:
- lib/melbourne/ast/operators.rb
Overview
TODO: document!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, left, right) ⇒ OpAssignAnd
constructor
A new instance of OpAssignAnd.
Methods inherited from Node
Constructor Details
#initialize(line, left, right) ⇒ OpAssignAnd
Returns a new instance of OpAssignAnd.
102 103 104 105 106 |
# File 'lib/melbourne/ast/operators.rb', line 102 def initialize(line, left, right) @line = line @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object
Returns the value of attribute left.
100 101 102 |
# File 'lib/melbourne/ast/operators.rb', line 100 def left @left end |
#right ⇒ Object
Returns the value of attribute right.
100 101 102 |
# File 'lib/melbourne/ast/operators.rb', line 100 def right @right end |