Struct moore_svlog::hir::InstTarget [−][src]
pub struct InstTarget<'a> {
pub ast: &'a Inst<'a>,
pub pos_params: Vec<PosParam>,
pub named_params: Vec<NamedParam>,
}
Expand description
An instantiation target.
In an instantiation foo #(...) a(), b(), c();
this struct represents the
foo #(...)
part. Multiple instantiations (a()
, b()
, c()
) may share
the same target.
Fields
ast: &'a Inst<'a>
The underlying AST node.
pos_params: Vec<PosParam>
The positional parameters.
named_params: Vec<NamedParam>
The named parameters.
Methods from Deref<Target = &'a Inst<'a>>
Check if this is an implicit type.
Check if this is an implicit type.
Trait Implementations
Allocate a value of type T
.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.