instance method
Prism::BeginNode#begin_keyword_loc
begin_keyword_loc
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 1552
def begin_keyword_loc
location = @begin_keyword_loc
case location
when nil
nil
when Location
location
else
@begin_keyword_loc = Location.new(source, location >> 32, location & 0xFFFFFFFF)
end
end
Represents the location of the begin keyword.
begin x end ^^^^^