Skip to main content

GeneratedSourceSpan

Type Alias GeneratedSourceSpan 

Source
pub type GeneratedSourceSpan = PortableSourceSpan;
Expand description

Reexport of the portable engine source span type.

Aliased Type§

pub struct GeneratedSourceSpan {
    pub name: String,
    pub start: u32,
    pub end: u32,
    pub role: u8,
}

Fields§

§name: String§start: u32§end: u32§role: u8

Provenance role, mirroring the IR SourceRole discriminant: 0=Primary, 1=MacroExpansion. Set deterministically by the stamping site, never guessed.