1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
use crate::*;
#[derive(Clone, Debug, PartialEq, Node)]
pub enum StatementOrNull {
Statement(Box<Statement>),
Attribute(Box<StatementOrNullAttribute>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct StatementOrNullAttribute {
pub nodes: (Vec<AttributeInstance>, Symbol),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct Statement {
pub nodes: (
Option<(BlockIdentifier, Symbol)>,
Vec<AttributeInstance>,
StatementItem,
),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum StatementItem {
BlockingAssignment(Box<(BlockingAssignment, Symbol)>),
NonblockingAssignment(Box<(NonblockingAssignment, Symbol)>),
ProceduralContinuousAssignment(Box<(ProceduralContinuousAssignment, Symbol)>),
CaseStatement(Box<CaseStatement>),
ConditionalStatement(Box<ConditionalStatement>),
IncOrDecExpression(Box<(IncOrDecExpression, Symbol)>),
SubroutineCallStatement(Box<SubroutineCallStatement>),
DisableStatement(Box<DisableStatement>),
EventTrigger(Box<EventTrigger>),
LoopStatement(Box<LoopStatement>),
JumpStatement(Box<JumpStatement>),
ParBlock(Box<ParBlock>),
ProceduralTimingControlStatement(Box<ProceduralTimingControlStatement>),
SeqBlock(Box<SeqBlock>),
WaitStatement(Box<WaitStatement>),
ProceduralAssertionStatement(Box<ProceduralAssertionStatement>),
ClockingDrive(Box<(ClockingDrive, Symbol)>),
RandsequenceStatement(Box<RandsequenceStatement>),
RandcaseStatement(Box<RandcaseStatement>),
ExpectPropertyStatement(Box<ExpectPropertyStatement>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct FunctionStatement {
pub nodes: (Statement,),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum FunctionStatementOrNull {
Statement(Box<FunctionStatement>),
Attribute(Box<FunctionStatementOrNullAttribute>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct FunctionStatementOrNullAttribute {
pub nodes: (Vec<AttributeInstance>, Symbol),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct VariableIdentifierList {
pub nodes: (List<Symbol, VariableIdentifier>,),
}