A field representing the start and end character offsets.
Instance Methods
lib/prism/relocation.rb
View on GitHub
# File tmp/rubies/ruby-3.4.1/lib/prism/relocation.rb, line 219
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.