def child_nodes
: () -> Array[nil | Node]
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Compose a string representing the given inner location field.
Save the location using a saved source so that it can be retrieved later.
Returns true if the node has the static literal flag set.
Returns an array of child nodes, including ‘nil`s in the place of optional nodes that were not present.
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
def child_nodes
: () -> Array[nil | Node]
Represents the alternation operator location.
foo => bar | baz ^
def child_nodes
: () -> Array[nil | Node]
The location of the ‘and` keyword or the `&&` operator.
left and right ^^^
def child_nodes
: () -> Array[nil | Node]
def contains_splat?: () -> bool
def child_nodes
: () -> Array[nil | Node]
def contains_splat?: () -> bool
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]