Module source_map

Source

Modules§

utils

Structs§

CrateIndexWrapper
CrateMapWrapper
Wraps the DecodedMap struct so that it is Sync and Send.
CrateSectionWrapper
InnerSourceMap
A regular source map covers an entire file.
OptionSourceMap
This is a transparent value type wrapping Option<SourceMap>.
OptionStringifiedSourceMap
This is a transparent value type wrapping Option<Rope>.
OriginalToken
An OriginalToken represents a region of the generated file that exists in user-authored source file.
RegularMapWrapper
Wraps the RegularMap struct so that it is Sync and Send.
SectionedSourceMap
A sectioned source map contains many (possibly recursive) maps covering different regions of the file.
SourceMapAsset
Represents the source map of an ecmascript asset.
SourceMapSection
A section of a larger sectioned source map, which applies at source positions >= the offset (until the next section starts).
SyntheticToken
A SyntheticToken represents a region of the generated file that was created by some build tool.
TokenWithSource
Tokens
This is a transparent value type wrapping Vec<Token>.

Enums§

SourceMap
Implements the source map specification as either a decoded or sectioned sourcemap.
Token
A token represents a mapping in a source map.

Traits§

GenerateSourceMap
Allows callers to generate source maps.