Expand description
Shared spans, tokens, and source mapping primitives. Shared spans, tokens, and source mapping primitives.
These types are useful when consuming diagnostics or mapping byte ranges back to display text.
Structs§
- LexDiagnostic
- Lexed
- Source
Map - Source
MapEdit - Source
View - Text
Range - A range in text, represented as a pair of
TextSize. - Text
Size - A measure of text length. Also, equivalently, an index into text.
- Token