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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
@ ProgramNode (location: (1,0)-(7,13))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(7,13))
└── body: (length: 4)
├── @ LambdaNode (location: (1,0)-(1,17))
│ ├── locals: [:_1, :_2, :_3, :_4, :_5, :_6, :_7, :_8, :_9]
│ ├── operator_loc: (1,0)-(1,2) = "->"
│ ├── opening_loc: (1,3)-(1,5) = "do"
│ ├── closing_loc: (1,14)-(1,17) = "end"
│ ├── parameters: ∅
│ └── body:
│ @ StatementsNode (location: (1,6)-(1,13))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,6)-(1,13))
│ ├── receiver:
│ │ @ LocalVariableReadNode (location: (1,6)-(1,8))
│ │ ├── name: :_1
│ │ └── depth: 0
│ ├── call_operator_loc: ∅
│ ├── message_loc: (1,9)-(1,10) = "+"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (1,11)-(1,13))
│ │ ├── arguments: (length: 1)
│ │ │ └── @ LocalVariableReadNode (location: (1,11)-(1,13))
│ │ │ ├── name: :_9
│ │ │ └── depth: 0
│ │ └── flags: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: ∅
│ └── name: :+
├── @ LambdaNode (location: (3,0)-(3,13))
│ ├── locals: [:_1, :_2, :_3, :_4, :_5, :_6, :_7, :_8, :_9]
│ ├── operator_loc: (3,0)-(3,2) = "->"
│ ├── opening_loc: (3,3)-(3,4) = "{"
│ ├── closing_loc: (3,12)-(3,13) = "}"
│ ├── parameters: ∅
│ └── body:
│ @ StatementsNode (location: (3,5)-(3,12))
│ └── body: (length: 1)
│ └── @ CallNode (location: (3,5)-(3,12))
│ ├── receiver:
│ │ @ LocalVariableReadNode (location: (3,5)-(3,7))
│ │ ├── name: :_1
│ │ └── depth: 0
│ ├── call_operator_loc: ∅
│ ├── message_loc: (3,8)-(3,9) = "+"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (3,10)-(3,12))
│ │ ├── arguments: (length: 1)
│ │ │ └── @ LocalVariableReadNode (location: (3,10)-(3,12))
│ │ │ ├── name: :_9
│ │ │ └── depth: 0
│ │ └── flags: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: ∅
│ └── name: :+
├── @ CallNode (location: (5,0)-(5,16))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (5,0)-(5,1) = "m"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block:
│ │ @ BlockNode (location: (5,2)-(5,16))
│ │ ├── locals: [:_1, :_2, :_3, :_4, :_5, :_6, :_7, :_8, :_9]
│ │ ├── parameters: ∅
│ │ ├── body:
│ │ │ @ StatementsNode (location: (5,5)-(5,12))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (5,5)-(5,12))
│ │ │ ├── receiver:
│ │ │ │ @ LocalVariableReadNode (location: (5,5)-(5,7))
│ │ │ │ ├── name: :_1
│ │ │ │ └── depth: 0
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── message_loc: (5,8)-(5,9) = "+"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments:
│ │ │ │ @ ArgumentsNode (location: (5,10)-(5,12))
│ │ │ │ ├── arguments: (length: 1)
│ │ │ │ │ └── @ LocalVariableReadNode (location: (5,10)-(5,12))
│ │ │ │ │ ├── name: :_9
│ │ │ │ │ └── depth: 0
│ │ │ │ └── flags: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ ├── block: ∅
│ │ │ ├── flags: ∅
│ │ │ └── name: :+
│ │ ├── opening_loc: (5,2)-(5,4) = "do"
│ │ └── closing_loc: (5,13)-(5,16) = "end"
│ ├── flags: ∅
│ └── name: :m
└── @ CallNode (location: (7,0)-(7,13))
├── receiver: ∅
├── call_operator_loc: ∅
├── message_loc: (7,0)-(7,1) = "m"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
├── block:
│ @ BlockNode (location: (7,2)-(7,13))
│ ├── locals: [:_1, :_2, :_3, :_4, :_5, :_6, :_7, :_8, :_9]
│ ├── parameters: ∅
│ ├── body:
│ │ @ StatementsNode (location: (7,4)-(7,11))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,4)-(7,11))
│ │ ├── receiver:
│ │ │ @ LocalVariableReadNode (location: (7,4)-(7,6))
│ │ │ ├── name: :_1
│ │ │ └── depth: 0
│ │ ├── call_operator_loc: ∅
│ │ ├── message_loc: (7,7)-(7,8) = "+"
│ │ ├── opening_loc: ∅
│ │ ├── arguments:
│ │ │ @ ArgumentsNode (location: (7,9)-(7,11))
│ │ │ ├── arguments: (length: 1)
│ │ │ │ └── @ LocalVariableReadNode (location: (7,9)-(7,11))
│ │ │ │ ├── name: :_9
│ │ │ │ └── depth: 0
│ │ │ └── flags: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: ∅
│ │ └── name: :+
│ ├── opening_loc: (7,2)-(7,3) = "{"
│ └── closing_loc: (7,12)-(7,13) = "}"
├── flags: ∅
└── name: :m
|