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
|
@ ProgramNode (location: (1,0)-(3,12))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(3,12))
└── body: (length: 3)
├── @ IfNode (location: (1,0)-(1,13))
│ ├── if_keyword_loc: (1,0)-(1,2) = "if"
│ ├── predicate:
│ │ @ FlipFlopNode (location: (1,3)-(1,7))
│ │ ├── flags: ∅
│ │ ├── left:
│ │ │ @ IntegerNode (location: (1,3)-(1,4))
│ │ │ ├── flags: decimal
│ │ │ └── value: 1
│ │ ├── right:
│ │ │ @ IntegerNode (location: (1,6)-(1,7))
│ │ │ ├── flags: decimal
│ │ │ └── value: 2
│ │ └── operator_loc: (1,4)-(1,6) = ".."
│ ├── then_keyword_loc: ∅
│ ├── statements: ∅
│ ├── consequent: ∅
│ └── end_keyword_loc: (1,10)-(1,13) = "end"
├── @ IfNode (location: (2,0)-(2,12))
│ ├── if_keyword_loc: (2,0)-(2,2) = "if"
│ ├── predicate:
│ │ @ FlipFlopNode (location: (2,3)-(2,6))
│ │ ├── flags: ∅
│ │ ├── left: ∅
│ │ ├── right:
│ │ │ @ IntegerNode (location: (2,5)-(2,6))
│ │ │ ├── flags: decimal
│ │ │ └── value: 1
│ │ └── operator_loc: (2,3)-(2,5) = ".."
│ ├── then_keyword_loc: ∅
│ ├── statements: ∅
│ ├── consequent: ∅
│ └── end_keyword_loc: (2,9)-(2,12) = "end"
└── @ IfNode (location: (3,0)-(3,12))
├── if_keyword_loc: (3,0)-(3,2) = "if"
├── predicate:
│ @ FlipFlopNode (location: (3,3)-(3,6))
│ ├── flags: ∅
│ ├── left:
│ │ @ IntegerNode (location: (3,3)-(3,4))
│ │ ├── flags: decimal
│ │ └── value: 1
│ ├── right: ∅
│ └── operator_loc: (3,4)-(3,6) = ".."
├── then_keyword_loc: ∅
├── statements: ∅
├── consequent: ∅
└── end_keyword_loc: (3,9)-(3,12) = "end"
|