attr_reader operator_loc
: Location
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.
def child_nodes
: () -> Array[nil | Node]
Return the character offset for the given byte offset.
Return the column number in characters for the given byte offset.
Return the character offset for the given byte offset.
Return the column number in characters for the given byte offset.
Walk the tree and mark nodes that are on a new line, loosely emulating the behavior of CRuby’s ‘:line` tracepoint event.