Enum sv_parser::ConstantPrimary
source · pub enum ConstantPrimary {
Show 16 variants
PrimaryLiteral(Box<PrimaryLiteral, Global>),
PsParameter(Box<ConstantPrimaryPsParameter, Global>),
Specparam(Box<ConstantPrimarySpecparam, Global>),
GenvarIdentifier(Box<GenvarIdentifier, Global>),
FormalPort(Box<ConstantPrimaryFormalPort, Global>),
Enum(Box<ConstantPrimaryEnum, Global>),
Concatenation(Box<ConstantPrimaryConcatenation, Global>),
MultipleConcatenation(Box<ConstantPrimaryMultipleConcatenation, Global>),
ConstantFunctionCall(Box<ConstantFunctionCall, Global>),
ConstantLetExpression(Box<ConstantLetExpression, Global>),
MintypmaxExpression(Box<ConstantPrimaryMintypmaxExpression, Global>),
ConstantCast(Box<ConstantCast, Global>),
ConstantAssignmentPatternExpression(Box<ConstantAssignmentPatternExpression, Global>),
TypeReference(Box<TypeReference, Global>),
Null(Box<Keyword, Global>),
Dollar(Box<Keyword, Global>),
}
Variants§
PrimaryLiteral(Box<PrimaryLiteral, Global>)
PsParameter(Box<ConstantPrimaryPsParameter, Global>)
Specparam(Box<ConstantPrimarySpecparam, Global>)
GenvarIdentifier(Box<GenvarIdentifier, Global>)
FormalPort(Box<ConstantPrimaryFormalPort, Global>)
Enum(Box<ConstantPrimaryEnum, Global>)
Concatenation(Box<ConstantPrimaryConcatenation, Global>)
MultipleConcatenation(Box<ConstantPrimaryMultipleConcatenation, Global>)
ConstantFunctionCall(Box<ConstantFunctionCall, Global>)
ConstantLetExpression(Box<ConstantLetExpression, Global>)
MintypmaxExpression(Box<ConstantPrimaryMintypmaxExpression, Global>)
ConstantCast(Box<ConstantCast, Global>)
ConstantAssignmentPatternExpression(Box<ConstantAssignmentPatternExpression, Global>)
TypeReference(Box<TypeReference, Global>)
Null(Box<Keyword, Global>)
Dollar(Box<Keyword, Global>)
Trait Implementations§
source§impl Clone for ConstantPrimary
impl Clone for ConstantPrimary
source§fn clone(&self) -> ConstantPrimary
fn clone(&self) -> ConstantPrimary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConstantPrimary
impl Debug for ConstantPrimary
source§impl<'a> From<&'a ConstantPrimary> for RefNode<'a>
impl<'a> From<&'a ConstantPrimary> for RefNode<'a>
source§fn from(x: &'a ConstantPrimary) -> RefNode<'a>
fn from(x: &'a ConstantPrimary) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ConstantPrimary> for RefNodes<'a>
impl<'a> From<&'a ConstantPrimary> for RefNodes<'a>
source§fn from(x: &'a ConstantPrimary) -> RefNodes<'a>
fn from(x: &'a ConstantPrimary) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ConstantPrimary> for AnyNode
impl From<ConstantPrimary> for AnyNode
source§fn from(x: ConstantPrimary) -> AnyNode
fn from(x: ConstantPrimary) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ConstantPrimary
impl<'a> IntoIterator for &'a ConstantPrimary
source§impl PartialEq<ConstantPrimary> for ConstantPrimary
impl PartialEq<ConstantPrimary> for ConstantPrimary
source§fn eq(&self, other: &ConstantPrimary) -> bool
fn eq(&self, other: &ConstantPrimary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.