attr_reader content_loc
: Location
Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.
def comment_targets
: () -> Array[Node | Location]
attr_reader keyword_loc
: Location
attr_reader lparen_loc
: Location
?
attr_reader rparen_loc
: Location
?
def comment_targets
: () -> Array[Node | Location]
attr_reader opening_loc
: Location
?
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
attr_reader keyword_loc
: Location
def comment_targets
: () -> Array[Node | Location]
The location of the ‘unless` keyword.
unless cond then bar end ^^^^^^ bar unless cond ^^^^^^
def comment_targets
: () -> Array[Node | Location]
def begin_modifier?: () -> bool
attr_reader keyword_loc
: Location
def comment_targets
: () -> Array[Node | Location]
attr_reader keyword_loc
: Location
def comment_targets
: () -> Array[Node | Location]
def begin_modifier?: () -> bool
attr_reader keyword_loc
: Location
def comment_targets
: () -> Array[Node | Location]
attr_reader opening_loc
: Location
attr_reader content_loc
: Location