Expand description
SourceMap related types and operations.
Structs§
- Distinct
Sources - File
Lines - File
Name Display - 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
. - Source
File - A single source in the
SourceMap
. - Source
File AndByte Pos - Source
File AndLine - Source
File Hash - The hash of the on-disk source file used for debug info.
- Source
Map - Stores all the sources of the current compilation session.
- Stable
Source File Id
Enums§
- File
Name - Resolve
Error - An error that occurred while resolving a path.
- Source
File Hash Algorithm - Span
Lines Error - Span
Snippet Error - An error that can occur when converting a
Span
to a snippet.