Compile a ConstantPathOperatorWriteNode
node
Compile a GlobalVariableOperatorWriteNode
node
Compile a LocalVariableOperatorWriteNode
node
@@foo &&= bar
becomes
@@foo && @@foo = bar
@@foo ||= bar
becomes
defined?(@@foo) ? @@foo : @@foo = bar
@@foo += bar
becomes
@@foo = @@foo + bar
$foo ||= bar
becomes
defined?($foo) ? $foo : $foo = bar
$foo += bar
becomes
$foo = $foo + bar
Dispatch enter and leave events for ClassVariableAndWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for ClassVariableOperatorWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for ClassVariableOrWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for ConstantPathAndWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for ConstantPathOperatorWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for ConstantPathOrWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for GlobalVariableAndWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for GlobalVariableOperatorWriteNode
nodes and continue walking the tree.