Struct moore_svlog::ast::ParamValueDeclData [−][src]
pub struct ParamValueDeclData<'a> {
pub ty: Node<'a, TypeData<'a>>,
pub name: Spanned<Name>,
pub dims: Vec<TypeDim<'a>, Global>,
pub expr: Option<Node<'a, ExprData<'a>>>,
}
Expand description
A single value assignment within a parameter or localparam declaration.
[type_or_implicit] ident {dimension} ["=" expr]
Fields
ty: Node<'a, TypeData<'a>>
name: Spanned<Name>
dims: Vec<TypeDim<'a>, Global>
expr: Option<Node<'a, ExprData<'a>>>
Trait Implementations
Get this node’s name, or None
if it does not have one.
Describe this node for diagnostics in indefinite form, e.g. “entity”. Read more
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Apply a function to each child node.
Apply a function to this node.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ParamValueDeclData<'a>
impl<'a> Send for ParamValueDeclData<'a>
impl<'a> Sync for ParamValueDeclData<'a>
impl<'a> Unpin for ParamValueDeclData<'a>
impl<'a> !UnwindSafe for ParamValueDeclData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more