Struct wast::Alias [−][src]
pub struct Alias<'a> {
pub span: Span,
pub id: Option<Id<'a>>,
pub name: Option<NameAnnotation<'a>>,
pub source: AliasSource<'a>,
pub kind: ExportKind,
}
Expand description
An alias
statement used to juggle indices with nested modules.
Fields
span: Span
Where this alias
was defined.
id: Option<Id<'a>>
An identifier that this alias is resolved with (optionally) for name resolution.
name: Option<NameAnnotation<'a>>
An optional name for this alias stored in the custom name
section.
source: AliasSource<'a>
The source of this alias.
kind: ExportKind
The kind of item that’s being aliased.