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
}
Returns an array of child nodes and locations that could potentially have comments attached to them.
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, new_name
: GlobalVariableReadNode
| BackReferenceReadNode
| NumberedReferenceReadNode
, old_name
: GlobalVariableReadNode
| BackReferenceReadNode
| NumberedReferenceReadNode
| SymbolNode
| MissingNode
, keyword_loc
: Location
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, new_name
: SymbolNode
| InterpolatedSymbolNode
, old_name
: SymbolNode
| InterpolatedSymbolNode
| GlobalVariableReadNode
| MissingNode
, keyword_loc
: Location
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, left: Prism::node, right: Prism::node, operator_loc
: Location
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, left: Prism::node, right: Prism::node, operator_loc
: Location
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, arguments: Array }
def contains_keywords?: () -> bool
def contains_splat?: () -> bool
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, elements: Array, opening_loc
: Location
?, closing_loc
: Location
? }
def contains_splat?: () -> bool
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, constant: ConstantReadNode
| ConstantPathNode
| nil, requireds: Array, rest: Prism::node?, posts: Array, opening_loc
: Location
?, closing_loc
: Location
? }
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, key: Prism::node, value: Prism::node, operator_loc
: Location
? }
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, value: Prism::node?, operator_loc
: Location
}
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
}