Expand description
Shared parsed-source surface for Daml tools.
daml-parser stays the low-level lexer/layout/parser implementation.
This crate owns the source-facing facts tools need around that parser:
diagnostics, line/UTF-16 mapping, tokens, trivia, laid-out tokens, and
conversion from parser byte spans to text-size ranges.
Structs§
- Diagnostic
- LineCol
- Line
Index - Source
File - Source
Tokens - 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.