Compose a string representing the given inner location field.
Returns an array of child nodes and locations that could potentially have comments attached to them.
def comment_targets
: () -> Array[Node | Location]
The location of the ‘alias` keyword.
alias $foo $bar ^^^^^
def comment_targets
: () -> Array[Node | Location]
attr_reader keyword_loc
: Location
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
Represents the optional source location for the opening token.
[1,2,3] # "[" %w[foo bar baz] # "%w[" %I(apple orange banana) # "%I(" foo = 1, 2, 3 # nil
def comment_targets
: () -> Array[Node | Location]
attr_reader opening_loc
: Location
?
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def comment_targets
: () -> Array[Node | Location]
def repeated_parameter?: () -> bool
def comment_targets
: () -> Array[Node | Location]
attr_reader opening_loc
: Location
def comment_targets
: () -> Array[Node | Location]
def repeated_parameter?: () -> bool