Maintenance Ruby 3.4 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.4.1/lib/prism/parse_result.rb, line 386
def end_character_offset
source.character_offset(end_offset)
end
The character offset from the beginning of the source where this location ends.
See also
#end_character_column
#end_code_units_column
#deconstruct_keys
#end_code_units_offset
also in
4.0 · 3.3