Copy a ReturnNode
node
Copy a SelfNode
node
Copy a SplatNode
node
Copy a StringNode
node
Copy a SuperNode
node
Copy a SymbolNode
node
Copy a TrueNode
node
Copy a UndefNode
node
Copy a UnlessNode
node
Copy a WhenNode
node
Copy a WhileNode
node
Copy a YieldNode
node
Delegates to the end_character_offset
of the associated location object.
Delegates to the end_character_column
of the associated location object.
Returns the first node that matches the given block when visited in a depth-first search. This is useful for finding a node that matches a particular condition.
node.breadth_first_search { |node| node.node_id == node_id }
Returns an array of child nodes, excluding any ‘nil`s in the place of optional nodes that were not present.
def contains_keyword_splat?: () -> bool