Enum moore_vhdl::score::LatentName [−][src]
pub enum LatentName<'ast> {
Simple(&'ast Spanned<Name>),
Primary(&'ast PrimaryName),
Compound(&'ast CompoundName),
}
Expand description
A general name in the AST that can be resolved. Used for e.g. for package and subprogram bodies to resolve the name of their target.
Variants
A simple name.
Primary(&'ast PrimaryName)
A primary name.
Tuple Fields of Primary
0: &'ast PrimaryName
Compound(&'ast CompoundName)
A compound name.
Tuple Fields of Compound
0: &'ast CompoundName
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Obtain a span which can be used to refer to this node in error messages
presented to humans. This will generally be the name for things like
entities, processes, and variables. Defaults to return whatever span()
returns. Read more
Auto Trait Implementations
impl<'ast> RefUnwindSafe for LatentName<'ast>
impl<'ast> Send for LatentName<'ast>
impl<'ast> Sync for LatentName<'ast>
impl<'ast> Unpin for LatentName<'ast>
impl<'ast> UnwindSafe for LatentName<'ast>
Blanket Implementations
Mutably borrows from an owned value. Read more