Struct moore_vhdl::hir::PackageInst [−][src]
pub struct PackageInst {
pub parent: ScopeRef,
pub name: Spanned<Name>,
pub pkg: Spanned<LatentPkgRef>,
pub generic_map: Vec<()>,
}
Expand description
A package instantiation.
See IEEE 1076-2008 section 4.9.
Fields
parent: ScopeRef
The parent scope.
name: Spanned<Name>
The name of the package.
pkg: Spanned<LatentPkgRef>
The package to be instantiated.
generic_map: Vec<()>
The generic map.
Trait Implementations
Allocate a value of type T
.
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<PkgInstRef, &'ctx PackageInst> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<PkgInstRef, &'ctx PackageInst> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
Creates the node with the given ID. Read more