Skip to main content

Module source

Module source 

Source
Expand description

Source identities and byte-accurate locations.

Structs§

LineColumn
A one-based line and Unicode-scalar column.
SourceId
Identifies one source document within a caller-managed source collection.
SourceSpan
A half-open byte range associated with one source document.

Functions§

line_column
Converts a byte offset into a one-based line and Unicode-scalar column.