class

Syntax::OpAssign

Inherits Syntax::ASTNode < Reference < Object

Operator assign expression.

target op'=' value

For example if op is + then the above is:

target '+=' value

Constructors

new(target : Syntax::ASTNode, op : String, value : Syntax::ASTNode)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

accept_children(visitor)
Source
clone_without_location
Source
end_location

The location where this node ends, or nil if the location is not known.

Source
hash(hasher)

See Object#hash(hasher)

name_location
Source
name_location=(name_location : Location | Nil)
Source
op=(op : String)
Source
target
Source
target=(target : ASTNode)
Source
value
Source
value=(value : ASTNode)
Source