def contains_splat?: () -> bool
def contains_splat?: () -> bool
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
Represents the optional source location for the closing token.
[1,2,3] # "]" %w[foo bar baz] # "]" %I(apple orange banana) # ")" foo = 1, 2, 3 # nil
Represents the opening location of the array pattern.
foo in [1, 2] ^
Represents the closing location of the array pattern.
foo in [1, 2] ^
def begin_keyword
: () -> String
?
Represents the location of the opening ‘|`.
[1, 2, 3].each { |i| puts x } ^
Represents the location of the closing ‘|`.
[1, 2, 3].each { |i| puts x } ^
Represents the opening location of the block parameters.
-> (a, b = 1; local) { } ^ foo do |a, b = 1; local| ^ end
Represents the closing location of the block parameters.
-> (a, b = 1; local) { } ^ foo do |a, b = 1; local| ^ end
attr_reader opening_loc
: Location
attr_reader closing_loc
: Location
attr_reader opening_loc
: Location
?
attr_reader closing_loc
: Location
?
def in_keyword
: () -> String
attr_reader opening_loc
: Location
?
attr_reader closing_loc
: Location
?