def deconstruct_keys
: (Array keys) -> { name: Symbol
, name_loc
: Location
, binary_operator_loc
: Location
, value: Prism::node, binary_operator
: Symbol
, location: Location
}
def deconstruct_keys
: (Array keys) -> { name_loc
: Location
, operator_loc
: Location
, value: Prism::node, name: Symbol
, depth: Integer
, location: Location
}
def deconstruct_keys
: (Array keys) -> { name_loc
: Location
, operator_loc
: Location
, value: Prism::node, name: Symbol
, depth: Integer
, location: Location
}
def deconstruct_keys
: (Array keys) -> { name_loc
: Location
, binary_operator_loc
: Location
, value: Prism::node, name: Symbol
, binary_operator
: Symbol
, depth: Integer
, location: Location
}
An alias for source_lines
, used to mimic the API from RubyVM::AbstractSyntaxTree
to make it easier to migrate.
def deconstruct_keys
: (Array keys) -> { new_name
: Prism::node, old_name
: Prism::node, keyword_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { new_name
: Prism::node, old_name
: Prism::node, keyword_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { left: Prism::node, right: Prism::node, operator_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { left: Prism::node, right: Prism::node, operator_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { flags: Integer
, arguments: Array, location: Location
}
def deconstruct_keys
: (Array keys) -> { flags: Integer
, elements: Array, opening_loc
: Location
?, closing_loc
: Location
?, location: Location
}
def deconstruct_keys
: (Array keys) -> { constant: Prism::node?, requireds: Array, rest: Prism::node?, posts: Array, opening_loc
: Location
?, closing_loc
: Location
?, location: Location
}
def deconstruct_keys
: (Array keys) -> { key: Prism::node, value: Prism::node, operator_loc
: Location
?, location: Location
}
def deconstruct_keys
: (Array keys) -> { value: Prism::node?, operator_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { name: Symbol
, location: Location
}
def deconstruct_keys
: (Array keys) -> { begin_keyword_loc
: Location
?, statements: StatementsNode
?, rescue_clause
: RescueNode
?, else_clause
: ElseNode
?, ensure_clause
: EnsureNode
?, end_keyword_loc
: Location
?, location: Location
}
def deconstruct_keys
: (Array keys) -> { expression: Prism::node?, operator_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { flags: Integer
, name: Symbol
, location: Location
}
def deconstruct_keys
: (Array keys) -> { locals: Array, parameters: Prism::node?, body: Prism::node?, opening_loc
: Location
, closing_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { flags: Integer
, name: Symbol
?, name_loc
: Location
?, operator_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { parameters: ParametersNode
?, locals: Array, opening_loc
: Location
?, closing_loc
: Location
?, location: Location
}
def deconstruct_keys
: (Array keys) -> { arguments: ArgumentsNode
?, keyword_loc
: Location
, location: Location
}
def deconstruct_keys
: (Array keys) -> { flags: Integer
, receiver: Prism::node?, call_operator_loc
: Location
?, message_loc
: Location
?, read_name
: Symbol
, write_name
: Symbol
, operator_loc
: Location
, value: Prism::node, location: Location
}
def deconstruct_keys
: (Array keys) -> { flags: Integer
, receiver: Prism::node?, call_operator_loc
: Location
?, name: Symbol
, message_loc
: Location
?, opening_loc
: Location
?, arguments: ArgumentsNode
?, closing_loc
: Location
?, block: Prism::node?, location: Location
}
def deconstruct_keys
: (Array keys) -> { flags: Integer
, receiver: Prism::node?, call_operator_loc
: Location
?, message_loc
: Location
?, read_name
: Symbol
, write_name
: Symbol
, binary_operator
: Symbol
, binary_operator_loc
: Location
, value: Prism::node, location: Location
}