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
|
@ ProgramNode (location: (1,0)-(5,7))
├── locals: [:a]
└── statements:
@ StatementsNode (location: (1,0)-(5,7))
└── body: (length: 3)
├── @ LocalVariableAndWriteNode (location: (1,0)-(1,7))
│ ├── name_loc: (1,0)-(1,1) = "a"
│ ├── operator_loc: (1,2)-(1,5) = "&&="
│ ├── value:
│ │ @ CallNode (location: (1,6)-(1,7))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
│ │ ├── message_loc: (1,6)-(1,7) = "b"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ └── flags: variable_call
│ ├── name: :a
│ └── depth: 0
├── @ LocalVariableOperatorWriteNode (location: (3,0)-(3,6))
│ ├── name_loc: (3,0)-(3,1) = "a"
│ ├── operator_loc: (3,2)-(3,4) = "+="
│ ├── value:
│ │ @ CallNode (location: (3,5)-(3,6))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
│ │ ├── message_loc: (3,5)-(3,6) = "b"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ └── flags: variable_call
│ ├── name: :a
│ ├── operator: :+
│ └── depth: 0
└── @ LocalVariableOrWriteNode (location: (5,0)-(5,7))
├── name_loc: (5,0)-(5,1) = "a"
├── operator_loc: (5,2)-(5,5) = "||="
├── value:
│ @ CallNode (location: (5,6)-(5,7))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
│ ├── message_loc: (5,6)-(5,7) = "b"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ └── flags: variable_call
├── name: :a
└── depth: 0
|