def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, keyword_loc
: Location
, lparen_loc
: Location
?, arguments: ArgumentsNode
?, rparen_loc
: Location
?, block: BlockNode
| BlockArgumentNode
| nil }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, opening_loc
: Location
?, value_loc
: Location
?, closing_loc
: Location
?, unescaped: String
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, names: Array[SymbolNode | InterpolatedSymbolNode], keyword_loc
: Location
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, keyword_loc
: Location
, predicate: Prism::node, then_keyword_loc
: Location
?, statements: StatementsNode
?, else_clause
: ElseNode
?, end_keyword_loc
: Location
? }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, keyword_loc
: Location
, do_keyword_loc
: Location
?, closing_loc
: Location
?, predicate: Prism::node, statements: StatementsNode
? }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, keyword_loc
: Location
, conditions: Array, then_keyword_loc
: Location
?, statements: StatementsNode
? }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, keyword_loc
: Location
, do_keyword_loc
: Location
?, closing_loc
: Location
?, predicate: Prism::node, statements: StatementsNode
? }
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, opening_loc
: Location
, content_loc
: Location
, closing_loc
: Location
, unescaped: String
}
def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, keyword_loc
: Location
, lparen_loc
: Location
?, arguments: ArgumentsNode
?, rparen_loc
: Location
? }
Implement the hash pattern matching interface for Location
.
Implement the hash pattern matching interface for Comment
.
Implement the hash pattern matching interface for MagicComment
.
Implement the hash pattern matching interface for ParseError
.
Implement the hash pattern matching interface for ParseWarning
.
Implement the hash pattern matching interface for Result
.
Implement the hash pattern matching interface for ParseResult
.
Implement the hash pattern matching interface for LexResult
.
Implement the hash pattern matching interface for ParseLexResult
.
Implement the hash pattern matching interface for Token
.
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]