Module span

Source

Structsยง

FileSummary
A set of offset-related information about a file.
TextOffset
Byte offset inside a utf8 string.
TextPosition
Human-readable position inside a file, in lines and characters.
TextPositionSpan
A range of text positions that form a span (like text selection).
TextSpan
A range of text offsets that form a span (like text selection).
TextWidth
Byte length of an utf8 string.