def deconstruct_keys
: (Array keys) -> { node_id: Integer
, location: Location
, keyword_loc
: Location
, lparen_loc
: Location
?, arguments: ArgumentsNode
?, rparen_loc
: 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.
These are the comments that are associated with this location that exist before the start of this location.
Attach a comment to the leading comments of this location.
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 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
.
Implement the pretty print interface for Token
.