Expand description
Utility functions for working with source positions
Functionsยง
- line_
col_ to_ offset - Convert line and column numbers to a byte offset
- offset_
to_ location - Convert a byte offset to a Location with line and column info
- range_
from_ offsets - Create a Range from start and end byte offsets