@foo &&= bar
becomes
@foo && @foo = bar
@foo ||= bar
becomes
@foo || @foo = bar
@foo += bar
becomes
@foo = @foo + bar
Dispatch enter and leave events for InstanceVariableAndWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for InstanceVariableOperatorWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for InstanceVariableOrWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for InterpolatedMatchLastLineNode
nodes and continue walking the tree.
Inspect a InstanceVariableAndWriteNode
node.
Inspect a InstanceVariableOperatorWriteNode
node.
Inspect a InstanceVariableOrWriteNode
node.
Inspect a InterpolatedMatchLastLineNode
node.
Copy a InstanceVariableAndWriteNode
node
Copy a InstanceVariableOperatorWriteNode
node
Copy a InstanceVariableOrWriteNode
node
Copy a InterpolatedMatchLastLineNode
node
Visit one side of an alias global variable node.
@foo += bar ^^^^^^^^^^^
@foo &&= bar ^^^^^^^^^^^^
@foo ||= bar ^^^^^^^^^^^^
if /foo #{bar}/ then end
^^^^^^^^^^^^
alias $foo $bar ^^^^^^^^^^^^^^^