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