Myst::OpAssign
Inherits Myst::Node / Reference / Object
An operational assignment. These function as a shorthand for an operation followed by an assignment to the same receiver.
target op'=' expression
For example, the operator || may be used to conditional assign to the
target if it is currently falsey. The syntax target ||= expression is
equivalent to target = target || expression. The same applies to other
operations: target += expression is equivalent to
target = target + value.
Constructors
Instance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourcehash(hasher)
See Object#hash(hasher)
op
Sourcetarget
Sourcetarget=(target : Node)
Sourcevalue
Sourcevalue=(value : Node)
Source