def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, locals: Array, parameters: BlockParametersNode
| NumberedParametersNode
| ItParametersNode
| nil, body: StatementsNode
| BeginNode
| nil, opening_loc
: Location
, closing_loc
: Location
}
Represents the location of the opening ‘|`.
[1, 2, 3].each { |i| puts x } ^
Represents the location of the closing ‘|`.
[1, 2, 3].each { |i| puts x } ^
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
?, name_loc
: Location
?, operator_loc
: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, parameters: ParametersNode
?, locals: Array, opening_loc
: Location
?, closing_loc
: Location
? }
Represents the opening location of the block parameters.
-> (a, b = 1; local) { } ^ foo do |a, b = 1; local| ^ end
Represents the closing location of the block parameters.
-> (a, b = 1; local) { } ^ foo do |a, b = 1; local| ^ end
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, arguments: ArgumentsNode
?, keyword_loc
: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, receiver: Prism::node?, call_operator_loc
: Location
?, message_loc
: Location
?, read_name
: Symbol
, write_name
: Symbol
, operator_loc
: Location
, value: Prism::node }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, receiver: Prism::node?, call_operator_loc
: Location
?, name: Symbol
, message_loc
: Location
?, opening_loc
: Location
?, arguments: ArgumentsNode
?, closing_loc
: Location
?, block: BlockNode
| BlockArgumentNode
| nil }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, 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 }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, receiver: Prism::node?, call_operator_loc
: Location
?, message_loc
: Location
?, read_name
: Symbol
, write_name
: Symbol
, operator_loc
: Location
, value: Prism::node }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, receiver: Prism::node, call_operator_loc
: Location
, name: Symbol
, message_loc
: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, value: Prism::node, target: LocalVariableTargetNode
, operator_loc
: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, predicate: Prism::node?, conditions: Array, else_clause
: ElseNode
?, case_keyword_loc
: Location
, end_keyword_loc
: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, predicate: Prism::node?, conditions: Array, else_clause
: ElseNode
?, case_keyword_loc
: Location
, end_keyword_loc
: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, locals: Array, class_keyword_loc
: Location
, constant_path
: ConstantReadNode
| ConstantPathNode
| CallNode
, inheritance_operator_loc
: Location
?, superclass: Prism::node?, body: StatementsNode
| BeginNode
| nil, end_keyword_loc
: Location
, name: Symbol
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, name: Symbol
, name_loc
: Location
, value: Prism::node, operator_loc
: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, target: ConstantPathNode
, operator_loc
: Location
, value: Prism::node }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, parent: Prism::node?, name: Symbol
?, delimiter_loc
: Location
, name_loc
: Location
}