def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def begin_modifier?: () -> bool
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def begin_modifier?: () -> bool
def comment_targets
: () -> Array[Node | Location]
def deconstruct_keys
: (keys: Array) -> Hash[Symbol, nil | Node
| Array | String
| Token
| Array | Location]
def comment_targets
: () -> Array[Node | 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.
Find
all of the newlines in the source code and return their byte offsets from the start of the string an array.
The byte offset from the beginning of the source where this location ends.
The line number where this location starts.