Struct moore_vhdl::hir::PackageBody [−][src]
pub struct PackageBody {
pub parent: ScopeRef,
pub name: Spanned<Name>,
pub pkg: Spanned<LatentPkgRef>,
pub decls: Vec<DeclInPkgBodyRef>,
}
Expand description
A package body.
See IEEE 1076-2008 section 4.8.
Fields
parent: ScopeRef
The parent scope.
name: Spanned<Name>
The package name.
pkg: Spanned<LatentPkgRef>
The package which this body targets.
decls: Vec<DeclInPkgBodyRef>
The declarations.
Trait Implementations
Allocate a value of type T
.
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<PkgBodyRef, &'ctx PackageBody> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<PkgBodyRef, &'ctx PackageBody> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
Creates the node with the given ID. Read more