Struct moore_vhdl::hir::SubtypeDecl [−][src]
pub struct SubtypeDecl {
pub parent: ScopeRef,
pub name: Spanned<Name>,
pub subty: SubtypeIndRef,
}
Expand description
A subtype declaration as per IEEE 1076-2008 section 6.3.
Fields
parent: ScopeRef
The parent scope.
name: Spanned<Name>
The subtype name.
subty: SubtypeIndRef
The actualy subtype.
Trait Implementations
Allocate a value of type T
.
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubtypeDeclRef, &'ctx SubtypeDecl> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubtypeDeclRef, &'ctx SubtypeDecl> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
Creates the node with the given ID. Read more