Module source_map

Source
Expand description

SourceMap related types and operations.

Structs§

DistinctSources
FileLines
FileNameDisplay
FileResolver
LineInfo
Loc
A source code location used for error reporting.
MalformedSourceMapPositions
MultiByteChar
Identifies an offset of a multi-byte character in a SourceFile.
OffsetOverflowError
Sum of all file lengths is over u32::MAX.
SourceFile
A single source in the SourceMap.
SourceFileAndBytePos
SourceFileAndLine
SourceFileHash
The hash of the on-disk source file used for debug info.
SourceMap
StableSourceFileId

Enums§

FileName
NonNarrowChar
Identifies an offset of a non-narrow character in a SourceFile.
ResolveError
An error that occurred while resolving a path.
SourceFileHashAlgorithm
SpanLinesError
SpanSnippetError

Type Aliases§

FileLinesResult