Dispatch enter and leave events for SymbolNode
nodes and continue walking the tree.
Inspect a SymbolNode
node.
Copy a SymbolNode
node
Delegates to the start_character_offset
of the associated location object.
Delegates to the end_character_offset
of the associated location object.
Delegates to the start_character_column
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.