Skip to main content

Crate bock_source

Crate bock_source 

Source
Expand description

Bock source — source file loading, span management, and file registry.

Span and FileId are defined in bock-errors and re-exported here so downstream crates can import them from a single convenient location.

Structs§

FileId
Identifies a source file within the compilation session.
SourceFile
A loaded source file, keyed by its FileId.
SourceMap
Manages all source files loaded during a compilation session.
Span
A byte-offset span within a source file.