Struct moore_svlog::hir::Package [−][src]
pub struct Package {
pub id: NodeId,
pub name: Spanned<Name>,
pub span: Span,
pub names: Vec<(Spanned<Name>, NodeId)>,
pub decls: Vec<NodeId>,
pub params: Vec<NodeId>,
pub last_rib: NodeId,
}
Expand description
A package.
Fields
id: NodeId
name: Spanned<Name>
span: Span
names: Vec<(Spanned<Name>, NodeId)>
The names declared in this package.
decls: Vec<NodeId>
The constant declarations in the module.
params: Vec<NodeId>
The parameter declarations in the package.
last_rib: NodeId
The bottom of the name scope tree.
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