Enum moore_vhdl_syntax::ast::DeclItem [−][src]
pub enum DeclItem {
Show 18 variants
PkgBody(PkgBody),
PkgInst(PkgInst),
PkgDecl(PkgDecl),
TypeDecl(TypeDecl),
SubtypeDecl(SubtypeDecl),
ObjDecl(ObjDecl),
AliasDecl(AliasDecl),
UseClause(Span, Spanned<Vec<CompoundName>>),
SubprogDecl(Subprog),
CompDecl(CompDecl),
DisconDecl(DisconSpec),
CfgSpec(CfgSpec),
AttrDecl(AttrDecl),
PortgenMap(Span, Spanned<PortgenKind>, ParenElems),
PortgenClause(Span, Spanned<PortgenKind>, Spanned<Vec<IntfDecl>>),
GroupDecl(GroupDecl),
VunitBindInd(()),
BlockCompCfg(BlockCompCfg),
}
Expand description
A declarative item.
Variants
PkgBody(PkgBody)
Tuple Fields of PkgBody
0: PkgBody
PkgInst(PkgInst)
Tuple Fields of PkgInst
0: PkgInst
PkgDecl(PkgDecl)
Tuple Fields of PkgDecl
0: PkgDecl
TypeDecl(TypeDecl)
Tuple Fields of TypeDecl
0: TypeDecl
SubtypeDecl(SubtypeDecl)
Tuple Fields of SubtypeDecl
0: SubtypeDecl
ObjDecl(ObjDecl)
Tuple Fields of ObjDecl
0: ObjDecl
AliasDecl(AliasDecl)
Tuple Fields of AliasDecl
0: AliasDecl
UseClause(Span, Spanned<Vec<CompoundName>>)
Tuple Fields of UseClause
0: Span
1: Spanned<Vec<CompoundName>>
SubprogDecl(Subprog)
Tuple Fields of SubprogDecl
0: Subprog
CompDecl(CompDecl)
Tuple Fields of CompDecl
0: CompDecl
DisconDecl(DisconSpec)
Tuple Fields of DisconDecl
0: DisconSpec
CfgSpec(CfgSpec)
Tuple Fields of CfgSpec
0: CfgSpec
AttrDecl(AttrDecl)
Tuple Fields of AttrDecl
0: AttrDecl
PortgenMap(Span, Spanned<PortgenKind>, ParenElems)
Tuple Fields of PortgenMap
GroupDecl(GroupDecl)
Tuple Fields of GroupDecl
0: GroupDecl
VunitBindInd(())
Tuple Fields of VunitBindInd
0: ()
BlockCompCfg(BlockCompCfg)
Tuple Fields of BlockCompCfg
0: BlockCompCfg
Trait Implementations
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 RefUnwindSafe for DeclItem
impl UnwindSafe for DeclItem
Blanket Implementations
Mutably borrows from an owned value. Read more