Skip to main content

Crate bhc_span

Crate bhc_span 

Source
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.
FullSpan
A span with an associated file ID for cross-file spans.
LineCol
Line and column information for a source location.
SourceFile
Information about a source file.
Span
A span of source code, represented as a half-open byte range [lo, hi).
SpanLines
Information about which lines a span covers.
Spanned
A value with an associated span.