Expand description
Types for source mapping of macro-expanded and generated code.
Structs§
- Line
Column - A
Positionwith an associated source identifier. - Position
- A 0-based line and column position within a source.
- Source
Id - Opaque identifier for a source file or fragment.
- Source
Info - Metadata about a single source fragment.
- Source
Map - The central registry that owns all source fragments.
- Span
- A byte range within a specific source.
- Span
Chain - A chain of spans tracing a token back through macro expansions.
Enums§
- Source
Kind - The kind of a source fragment.