Enum moore_vhdl::score::LatentName
[−]
[src]
pub enum LatentName<'ast> { Simple(&'ast Spanned<Name>), Primary(&'ast PrimaryName), Compound(&'ast CompoundName), }
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
Simple(&'ast Spanned<Name>)
A simple name.
Primary(&'ast PrimaryName)
A primary name.
Compound(&'ast CompoundName)
A compound name.
Trait Implementations
impl<'ast> Copy for LatentName<'ast>
[src]
impl<'ast> Clone for LatentName<'ast>
[src]
fn clone(&self) -> LatentName<'ast>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'ast> Debug for LatentName<'ast>
[src]
impl<'ast> From<&'ast Spanned<Name>> for LatentName<'ast>
[src]
fn from(other: &'ast Spanned<Name>) -> LatentName<'ast>
[src]
Performs the conversion.
impl<'ast> From<&'ast PrimaryName> for LatentName<'ast>
[src]
fn from(other: &'ast PrimaryName) -> LatentName<'ast>
[src]
Performs the conversion.
impl<'ast> From<&'ast CompoundName> for LatentName<'ast>
[src]
fn from(other: &'ast CompoundName) -> LatentName<'ast>
[src]
Performs the conversion.
impl<'ast> HasSpan for LatentName<'ast>
[src]
fn span(&self) -> Span
[src]
Obtain the full span of the input file that this node covers.
fn human_span(&self) -> Span
[src]
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