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
Tuple Fields of PkgBody
0: PkgBody
Tuple Fields of PkgInst
0: PkgInst
Tuple Fields of PkgDecl
0: PkgDecl
Tuple Fields of TypeDecl
0: TypeDecl
Tuple Fields of SubtypeDecl
0: SubtypeDecl
Tuple Fields of ObjDecl
0: ObjDecl
Tuple Fields of AliasDecl
0: AliasDecl
Tuple Fields of UseClause
0: Span
1: Spanned<Vec<CompoundName>>
Tuple Fields of SubprogDecl
0: Subprog
Tuple Fields of CompDecl
0: CompDecl
Tuple Fields of DisconDecl
0: DisconSpec
Tuple Fields of CfgSpec
0: CfgSpec
Tuple Fields of AttrDecl
0: AttrDecl
Tuple Fields of PortgenMap
Tuple Fields of GroupDecl
0: GroupDecl
Tuple Fields of VunitBindInd
0: ()
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