foo in bar ^^^^^^^^^^
Visit the list of statements of a statements node. We support nil statements in the list. This would normally not be allowed by the structure of the prism parse tree, but we manually add them here so that we can mirror Ripper’s void stmt.
A list of statements.
A list of statements.
Pattern
constants get wrapped in another layer of :const.
Foo::Bar += baz ^^^^^^^^^^^^^^^
Foo::Bar += baz ^^^^^^^^^^^^^^^
Compile a InstanceVariableOperatorWriteNode
node
Compile a InterpolatedMatchLastLineNode
node
@foo += bar
becomes
@foo = @foo + bar
Dispatch enter and leave events for ConstantPathAndWriteNode
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 InstanceVariableOperatorWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for InterpolatedMatchLastLineNode
nodes and continue walking the tree.
Inspect a InstanceVariableOperatorWriteNode
node.
Inspect a InterpolatedMatchLastLineNode
node.
Copy a InstanceVariableOperatorWriteNode
node
Copy a InterpolatedMatchLastLineNode
node