Ameba::AST::Assignment
Represents the assignment to the variable. Holds the assign node and the variable.
Constructors
Creates a new assignment.
Assignment.new(node, variable, scope)
Instance methods
end_location(*args, **options)
Sourceend_location(*args, **options, &)
Sourcelocation(*args, **options)
Sourcelocation(*args, **options, &)
Sourceop_assign?
Returns true if this assignment is an op assign, false if not.
For example, this is an op assign:
a ||= 1
to_s(*args, **options)
Sourceto_s(*args, **options, &)
Source