Expand description
Structs§
- Ident
- A name together with where it was written.
- LineCol
- A 1-based line and column. The column counts characters, not bytes.
- Memory
File Loader - Serves files from memory, for tests and for embedding scripts that aren’t on disk.
- Overlay
File Loader - Reads from in-memory overrides first, then falls back to disk.
- Real
File Loader - Reads files from disk.
- Source
File - A loaded source file and the global positions it occupies.
- Source
Map - Span
- A half-open byte range
start..endinto the source text. - Symbol
- An interned string.
Traits§
- File
Loader - Reads source files; abstracted so tests can supply files from memory
(rustc’s
FileLoader).