Expand description
Producer, origin, source descriptors, and source maps.
These answer the trust questions a compiler artifact must answer: which tool produced it, what the source was, and which canonical field came from which source record by what kind of mapping.
Structs§
- Producer
- The tool and build that produced the package.
- Source
Descriptor - A declared source artifact, referenced from source maps and diagnostics by
its
id. (sources[]in the package.) - Source
MapEntry - One
element_path -> sourcemapping. - Source
Ref - A pointer into one source artifact: where a canonical field came from.
Enums§
- Confidence
- How confident the source map entry is.
- Mapping
Kind - How a canonical field relates to its source value.
- Origin
- Where the package came from. Internally tagged on
kindin JSON, so a reader distinguishes an in-memory model, a single text file (with or without retained source), a folder dataset, a partially decoded binary, a derived product of a lowering pass, or a composite of several sources.