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
|
@ ProgramNode (location: (1,0)-(1,16))
├── flags: ∅
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,16))
├── flags: ∅
└── body: (length: 1)
└── @ IfNode (location: (1,0)-(1,16))
├── flags: newline
├── if_keyword_loc: (1,0)-(1,2) = "if"
├── predicate:
│ @ FlipFlopNode (location: (1,3)-(1,7))
│ ├── flags: ∅
│ ├── left:
│ │ @ CallNode (location: (1,3)-(1,4))
│ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
│ │ ├── message_loc: (1,3)-(1,4) = "a"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (1,6)-(1,7))
│ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
│ │ ├── message_loc: (1,6)-(1,7) = "b"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ └── operator_loc: (1,4)-(1,6) = ".."
├── then_keyword_loc: (1,8)-(1,12) = "then"
├── statements: ∅
├── consequent: ∅
└── end_keyword_loc: (1,13)-(1,16) = "end"
|