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
use crate::*;
#[derive(Clone, Debug, PartialEq, Node)]
pub enum PathDeclaration {
SimplePathDeclaration(Box<(SimplePathDeclaration, Symbol)>),
EdgeSensitivePathDeclaration(Box<(EdgeSensitivePathDeclaration, Symbol)>),
StateDependentPathDeclaration(Box<(StateDependentPathDeclaration, Symbol)>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum SimplePathDeclaration {
Parallel(Box<SimplePathDeclarationParallel>),
Full(Box<SimplePathDeclarationFull>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct SimplePathDeclarationParallel {
pub nodes: (ParallelPathDescription, Symbol, PathDelayValue),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct SimplePathDeclarationFull {
pub nodes: (FullPathDescription, Symbol, PathDelayValue),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct ParallelPathDescription {
pub nodes: (
Paren<(
SpecifyInputTerminalDescriptor,
Option<PolarityOperator>,
Symbol,
SpecifyOutputTerminalDescriptor,
)>,
),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct FullPathDescription {
pub nodes: (
Paren<(
ListOfPathInputs,
Option<PolarityOperator>,
Symbol,
ListOfPathOutputs,
)>,
),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct ListOfPathInputs {
pub nodes: (List<Symbol, SpecifyInputTerminalDescriptor>,),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct ListOfPathOutputs {
pub nodes: (List<Symbol, SpecifyOutputTerminalDescriptor>,),
}