instance method
Prism::Location#start_line
start_line
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 407
def start_line
source.line(start_offset)
end
The line number where this location starts.
See also
#start_column
#start_line_slice
#start_code_units_offset
#trailing_comment
also in
3.4 · 3.3