Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Prism::Location#end_code_units_offset

end_code_units_offset(encoding = Encoding::UTF_16LE)

The offset from the start of the file in code units of the given encoding.