Enum sv_parser::StatementItem
source · pub enum StatementItem {
Show 20 variants
BlockingAssignment(Box<(BlockingAssignment, Symbol), Global>),
NonblockingAssignment(Box<(NonblockingAssignment, Symbol), Global>),
ProceduralContinuousAssignment(Box<(ProceduralContinuousAssignment, Symbol), Global>),
CaseStatement(Box<CaseStatement, Global>),
ConditionalStatement(Box<ConditionalStatement, Global>),
IncOrDecExpression(Box<(IncOrDecExpression, Symbol), Global>),
SubroutineCallStatement(Box<SubroutineCallStatement, Global>),
DisableStatement(Box<DisableStatement, Global>),
EventTrigger(Box<EventTrigger, Global>),
LoopStatement(Box<LoopStatement, Global>),
JumpStatement(Box<JumpStatement, Global>),
ParBlock(Box<ParBlock, Global>),
ProceduralTimingControlStatement(Box<ProceduralTimingControlStatement, Global>),
SeqBlock(Box<SeqBlock, Global>),
WaitStatement(Box<WaitStatement, Global>),
ProceduralAssertionStatement(Box<ProceduralAssertionStatement, Global>),
ClockingDrive(Box<(ClockingDrive, Symbol), Global>),
RandsequenceStatement(Box<RandsequenceStatement, Global>),
RandcaseStatement(Box<RandcaseStatement, Global>),
ExpectPropertyStatement(Box<ExpectPropertyStatement, Global>),
}
Variants§
BlockingAssignment(Box<(BlockingAssignment, Symbol), Global>)
NonblockingAssignment(Box<(NonblockingAssignment, Symbol), Global>)
ProceduralContinuousAssignment(Box<(ProceduralContinuousAssignment, Symbol), Global>)
CaseStatement(Box<CaseStatement, Global>)
ConditionalStatement(Box<ConditionalStatement, Global>)
IncOrDecExpression(Box<(IncOrDecExpression, Symbol), Global>)
SubroutineCallStatement(Box<SubroutineCallStatement, Global>)
DisableStatement(Box<DisableStatement, Global>)
EventTrigger(Box<EventTrigger, Global>)
LoopStatement(Box<LoopStatement, Global>)
JumpStatement(Box<JumpStatement, Global>)
ParBlock(Box<ParBlock, Global>)
ProceduralTimingControlStatement(Box<ProceduralTimingControlStatement, Global>)
SeqBlock(Box<SeqBlock, Global>)
WaitStatement(Box<WaitStatement, Global>)
ProceduralAssertionStatement(Box<ProceduralAssertionStatement, Global>)
ClockingDrive(Box<(ClockingDrive, Symbol), Global>)
RandsequenceStatement(Box<RandsequenceStatement, Global>)
RandcaseStatement(Box<RandcaseStatement, Global>)
ExpectPropertyStatement(Box<ExpectPropertyStatement, Global>)
Trait Implementations§
source§impl Clone for StatementItem
impl Clone for StatementItem
source§fn clone(&self) -> StatementItem
fn clone(&self) -> StatementItem
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 StatementItem
impl Debug for StatementItem
source§impl<'a> From<&'a StatementItem> for RefNode<'a>
impl<'a> From<&'a StatementItem> for RefNode<'a>
source§fn from(x: &'a StatementItem) -> RefNode<'a>
fn from(x: &'a StatementItem) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a StatementItem> for RefNodes<'a>
impl<'a> From<&'a StatementItem> for RefNodes<'a>
source§fn from(x: &'a StatementItem) -> RefNodes<'a>
fn from(x: &'a StatementItem) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<StatementItem> for AnyNode
impl From<StatementItem> for AnyNode
source§fn from(x: StatementItem) -> AnyNode
fn from(x: StatementItem) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a StatementItem
impl<'a> IntoIterator for &'a StatementItem
source§impl PartialEq<StatementItem> for StatementItem
impl PartialEq<StatementItem> for StatementItem
source§fn eq(&self, other: &StatementItem) -> bool
fn eq(&self, other: &StatementItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.