Struct moore_svlog::hir::Inst [−][src]
pub struct Inst<'a> {
pub ast: &'a InstName<'a>,
pub target: NodeId,
pub pos_ports: Vec<PosParam>,
pub named_ports: Vec<NamedParam>,
pub has_wildcard_port: bool,
}
Expand description
An instantiation.
In an instantiation foo #(...) a(), b(), c();
, this struct represents the
a()
part.
Fields
ast: &'a InstName<'a>
The underlying AST node.
target: NodeId
The target of the instantiation.
pos_ports: Vec<PosParam>
The positional port connections.
named_ports: Vec<NamedParam>
The named port connections.
has_wildcard_port: bool
If the instantiation has a wildcard port connection .*
.
Methods from Deref<Target = &'a InstName<'a>>
Check if this is an implicit type.
Check if this is an implicit type.
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