Struct moore_vhdl::hir::SubprogBody [−][src]
pub struct SubprogBody {
pub parent: ScopeRef,
pub spec: SubprogSpec,
pub subprog: Spanned<LatentSubprogRef>,
pub decls: Vec<DeclInSubprogRef>,
pub stmts: Vec<SeqStmtRef>,
}
Expand description
A subprogram body.
See IEEE 1076-2008 section 4.3.
Fields
parent: ScopeRef
The parent scope.
spec: SubprogSpec
The specification, aka the signature.
subprog: Spanned<LatentSubprogRef>
The subprogram this body targets.
decls: Vec<DeclInSubprogRef>
The declarations in the subprogram.
stmts: Vec<SeqStmtRef>
The statements in the subprogram.
Trait Implementations
Allocate a value of type T
.
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubprogBodyRef, &'ctx SubprogBody> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<SubprogBodyRef, &'ctx SubprogBody> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
Creates the node with the given ID. Read more
Auto Trait Implementations
impl RefUnwindSafe for SubprogBody
impl Send for SubprogBody
impl Sync for SubprogBody
impl Unpin for SubprogBody
impl UnwindSafe for SubprogBody
Blanket Implementations
Mutably borrows from an owned value. Read more