instance method
Prism::Relocation::CharacterOffsetsField#fields
fields(value)
lib/prism/relocation.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/relocation.rb, line 220
def fields(value)
{
start_character_offset: value.start_character_offset,
end_character_offset: value.end_character_offset
}
end
Fetches the start and end character offset of a value.
also in
3.4