tinymist_world

Module debug_loc

Source
Expand description

The debug location that can be used to locate a position in a document or a file.

Structs§

Enums§

Type Aliases§

  • CharPositionDeprecated
    The legacy name of the character position.
  • CharRangeDeprecated
    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.