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