Module line_offset_tracker

Module line_offset_tracker 

Source
Expand description

LineOffsetTracker and related types for mapping locations in source strs.

Structs§

LineOffsetTracker
Keeps track of source offsets of newlines for the purposes of later calculating line and column information

Enums§

LineOffsetError
Errors that can be encountered when indexing by byte offset.