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

A simple name.

A primary name.

A compound name.

Trait Implementations

impl<'ast> Copy for LatentName<'ast>
[src]

impl<'ast> Clone for LatentName<'ast>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'ast> Debug for LatentName<'ast>
[src]

[src]

Formats the value using the given formatter.

impl<'ast> From<&'ast Spanned<Name>> for LatentName<'ast>
[src]

[src]

Performs the conversion.

impl<'ast> From<&'ast PrimaryName> for LatentName<'ast>
[src]

[src]

Performs the conversion.

impl<'ast> From<&'ast CompoundName> for LatentName<'ast>
[src]

[src]

Performs the conversion.

impl<'ast> HasSpan for LatentName<'ast>
[src]

[src]

Obtain the full span of the input file that this node covers.

[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

impl<'ast> HasDesc for LatentName<'ast>
[src]

[src]

Obtain a human-readable descriptive name for this node.