Expand description
Source location tracking and span management for BHC.
This crate provides types for tracking source locations throughout the compilation pipeline, enabling accurate error reporting and source mapping.
Structsยง
- BytePos
- A byte offset into a source file.
- FileId
- A unique identifier for a source file.
- Full
Span - A span with an associated file ID for cross-file spans.
- LineCol
- Line and column information for a source location.
- Source
File - Information about a source file.
- Span
- A span of source code, represented as a half-open byte range [lo, hi).
- Span
Lines - Information about which lines a span covers.
- Spanned
- A value with an associated span.