Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
attr_reader operator_loc
: Location
attr_reader operator_loc
: Location
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc
.
Dispatches a single event for ‘node` to all registered listeners.
def dispatch_once
: (Node
) -> void
The start offset of the node in the source. This method is effectively a delegate method to the location object.
Returns true if the node has the static literal flag set.
Represents the alternation operator location.
foo => bar | baz ^
The location of the ‘and` keyword or the `&&` operator.
left and right ^^^
def contains_forwarding?: () -> bool