Skip to main content

Module source_spans

Module source_spans 

Source
Expand description

Per-node source span tracking for the document buffer.

NodeSourceSpans maps node references to byte ranges in the original XML source, enabling error messages that point to the exact location.

Structs§

NodeSourceSpans
Mapping from node ref → SourceSpan (byte range in the source document).