Struct moore_vhdl_syntax::ast::CompoundName [] [src]

pub struct CompoundName {
    pub id: NodeId,
    pub span: Span,
    pub primary: PrimaryName,
    pub parts: Vec<NamePart>,
}

A compound name consisting of a primary name (identifier, character literal, or string literal), and zero or more suffices (select, attribute, call). The names in IEEE 1076-2008 section 8.1 map to this as follows:

In the standard In this module
simple_name PrimaryNameKind::Ident
operator_symbol PrimaryNameKind::String
character_literal PrimaryNameKind::Char
selected_name NamePart::{Select, SelectAll}
indexed_name NamePart::Call
slice_name NamePart::Call
function_call NamePart::Call
attribute_name NamePart::Attribute
external_name not implemented

Fields

Trait Implementations

impl Clone for CompoundName
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CompoundName
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for CompoundName
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for CompoundName
[src]

impl Encodable for CompoundName
[src]

[src]

Serialize a value using an Encoder.

impl Decodable for CompoundName
[src]

[src]

Deserialize a value using a Decoder.

impl HasSpan for CompoundName
[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 HasDesc for CompoundName
[src]

[src]

Obtain a human-readable descriptive name for this node.