Dispatch enter and leave events for KeywordRestParameterNode
nodes and continue walking the tree.
Dispatch enter and leave events for NoKeywordsParameterNode
nodes and continue walking the tree.
Dispatch enter and leave events for RequiredKeywordParameterNode
nodes and continue walking the tree.
Inspect a RequiredKeywordParameterNode
node.
Copy a RequiredKeywordParameterNode
node
Returns the node id for the given backtrace location.
begin raise rescue => e loc = e.backtrace_locations.first RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(loc) end # => 0
Create a new ClassVariableOperatorWriteNode
node.
Create a new GlobalVariableOperatorWriteNode
node.
Create a new InstanceVariableOperatorWriteNode
node.
Create a new LocalVariableOperatorWriteNode
node.
-> { _1 + _2 } ^^^^^^^^^^^^^^
-> { _1 + _2 } ^^^^^^^^^^^^^^