def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
Return the byte offset of the start of the line corresponding to the given byte offset.
Binary search through the offsets to find the line number for the given byte offset.
The line number where this location starts.
Implement the hash pattern matching interface for Location
.
Implement the pretty print 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 ParseResult
.
Implement the hash pattern matching interface for Token
.
Implement the pretty print interface for Token
.