AshTypst.Span (ash_typst v0.3.0)

Copy Markdown View Source

A source location range within a Typst file, attached to an AshTypst.Diagnostic or AshTypst.TraceItem.

Fields

  • :start — zero-based byte offset of the start of the range
  • :end — zero-based byte offset of the end of the range
  • :line — one-based line number of the start, or nil when it could not be resolved
  • :column — one-based column number of the start, or nil when it could not be resolved