Expand description
The debug location that can be used to locate a position in a document or a file.
Structs§
- A serializable physical position in a document.
- A point on the element tree.
- A resolved source (text) location.
- A flat resolved source (text) location.
- A file system data source.
- A in-memory data source.
- A type indicating how positions are encoded, specifically what column offsets mean.
- A resolved source (text) location.
- A resolved source (text) range.
- Unevaluated source span with offset.
- A physical position in a document.
Enums§
- Data source for a document.
Type Aliases§
- Char
Position Deprecated The legacy name of the character position. - Char
Range Deprecated The legacy name of the character range. - A resolved file position. The position is encoded in Utf-8, Utf-16 or Utf-32. The position encoding must be negotiated via some protocol like LSP.
- A resolved file range.
- Raw representation of a source span.
- Unevaluated source span. The raw source span is unsafe to serialize and deserialize. Because the real source location is only known during liveness of the compiled document.