Expand description
SourceMap related types and operations.
Structs§
- Distinct
Sources - File
Name Display - A display wrapper for
FileName
. - File
Resolver - Performs file resolution by applying import paths and mappings.
- Line
Info - Loc
- A source code location used for error reporting.
- Malformed
Source MapPositions - Multi
Byte Char - Identifies an offset of a multi-byte character in a
SourceFile
. - Offset
Overflow Error - Sum of all file lengths is over
u32::MAX
. - Real
File Loader - Default file loader that uses
std::fs
. - Source
File - A single source in the
SourceMap
. - Source
File AndByte Pos - Source
File AndLine - Source
Map - Stores all the sources of the current compilation session.
- SpanLoc
- A source code location used for error reporting.
- With
Source File - A value paired with a source file.
Enums§
- File
Name - The name of a source file.
- Resolve
Error - An error that occurred while resolving a path.
- Span
Lines Error - Span
Snippet Error - An error that can occur when converting a
Span
to a snippet.
Traits§
- File
Loader - Abstraction over IO operations.