Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::Location#end_offset
end_offset
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/parse_result.rb, line 141
def end_offset
start_offset + length
end
The byte offset from the beginning of the source where this location ends.