Enum moore_vhdl_syntax::ast::DeclItem [] [src]

pub enum DeclItem {
    PkgBody(PkgBody),
    PkgInst(PkgInst),
    PkgDecl(PkgDecl),
    TypeDecl(TypeDecl),
    SubtypeDecl(SubtypeDecl),
    ObjDecl(ObjDecl),
    AliasDecl(AliasDecl),
    UseClause(SpanSpanned<Vec<CompoundName>>),
    SubprogDecl(Subprog),
    CompDecl(CompDecl),
    DisconDecl(DisconSpec),
    CfgSpec(CfgSpec),
    AttrDecl(AttrDecl),
    PortgenMap(SpanSpanned<PortgenKind>, ParenElems),
    PortgenClause(SpanSpanned<PortgenKind>, Spanned<Vec<IntfDecl>>),
    GroupDecl(GroupDecl),
    VunitBindInd(()),
    BlockCompCfg(BlockCompCfg),
}

A declarative item.

Variants

Trait Implementations

impl Clone for DeclItem
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DeclItem
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DeclItem
[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 DeclItem
[src]

impl Encodable for DeclItem
[src]

[src]

Serialize a value using an Encoder.

impl Decodable for DeclItem
[src]

[src]

Deserialize a value using a Decoder.

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

[src]

Obtain a human-readable descriptive name for this node.