def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, binary_operator_loc
: Location
, value: Prism::node, binary_operator
: Symbol
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, operator_loc
: Location
, value: Prism::node }
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, operator_loc
: Location
, value: Prism::node }
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, binary_operator_loc
: Location
, value: Prism::node, binary_operator
: Symbol
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, operator_loc
: Location
, value: Prism::node }
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, operator_loc
: Location
, value: Prism::node }
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, binary_operator_loc
: Location
, value: Prism::node, binary_operator
: Symbol
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name_loc
: Location
, operator_loc
: Location
, value: Prism::node, name: Symbol
, depth: Integer
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name_loc
: Location
, operator_loc
: Location
, value: Prism::node, name: Symbol
, depth: Integer
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name_loc
: Location
, binary_operator_loc
: Location
, value: Prism::node, name: Symbol
, binary_operator
: Symbol
, depth: Integer
}
Delegates to the start_line
of the associated location object.
The end offset of the node in the source. This method is effectively a delegate method to the location object.
Delegates to the start_column
of the associated location object.
An alias for source_lines
, used to mimic the API from RubyVM::AbstractSyntaxTree
to make it easier to migrate.
Returns an array of child nodes and locations that could potentially have comments attached to them.
def comment_targets
: () -> Array[Node | Location]