Module swc_plugin::source_map
source · [−]Structs
A byte offset. Keep this small (currently 32-bits), as AST contains a lot of them.
A character offset. Because of multibyte utf8 characters, a byte offset is not equivalent to a character offset. The SourceMap will convert BytePos values to CharPos values as necessary.
A source code location used for error reporting
Identifies an offset of a multi-byte character in a SourceFile
A single source in the SourceMap.
Enums
Identifies an offset of a non-narrow character in a SourceFile