Expand description
Source position spans.
Structs§
- Span
- A byte range in the source. Half-open:
[start, end).
Functions§
- line_
col - 1-indexed (line, column) of a byte offset in
source. Columns count characters, not bytes. Lives in the syntax leaf so every layer that maps a span to a position — the emitter’s assertion locations,bynkc’sshortrendering, and (slice 6)bynk-render— shares one implementation.