blob: 28537bf23ac465e5b9ecccac1af4afe3f7dad26d (
plain)
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
@ ProgramNode (location: (0...278))
├── locals: []
└── statements:
@ StatementsNode (location: (0...278))
└── body: (length: 13)
├── @ InterpolatedStringNode (location: (0...6))
│ ├── opening_loc: (0...6) = "<<-EOF"
│ ├── parts: (length: 1)
│ │ └── @ StringNode (location: (7...11))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (7...11) = " a\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " a\n"
│ └── closing_loc: (11...15) = "EOF\n"
├── @ CallNode (location: (16...36))
│ ├── receiver:
│ │ @ InterpolatedStringNode (location: (16...24))
│ │ ├── opening_loc: (16...24) = "<<-FIRST"
│ │ ├── parts: (length: 1)
│ │ │ └── @ StringNode (location: (37...41))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (37...41) = " a\n"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: " a\n"
│ │ └── closing_loc: (41...47) = "FIRST\n"
│ ├── call_operator_loc: ∅
│ ├── message_loc: (25...26) = "+"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (27...36))
│ │ └── arguments: (length: 1)
│ │ └── @ InterpolatedStringNode (location: (27...36))
│ │ ├── opening_loc: (27...36) = "<<-SECOND"
│ │ ├── parts: (length: 1)
│ │ │ └── @ StringNode (location: (47...51))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (47...51) = " b\n"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: " b\n"
│ │ └── closing_loc: (51...58) = "SECOND\n"
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags:
│ └── name: "+"
├── @ InterpolatedXStringNode (location: (59...67))
│ ├── opening_loc: (59...67) = "<<-`EOF`"
│ ├── parts: (length: 3)
│ │ ├── @ StringNode (location: (68...72))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (68...72) = " a\n"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: " a\n"
│ │ ├── @ EmbeddedStatementsNode (location: (72...76))
│ │ │ ├── opening_loc: (72...74) = "\#{"
│ │ │ ├── statements:
│ │ │ │ @ StatementsNode (location: (74...75))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (74...75))
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── message_loc: (74...75) = "b"
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── arguments: ∅
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ ├── block: ∅
│ │ │ │ ├── flags: variable_call
│ │ │ │ └── name: "b"
│ │ │ └── closing_loc: (75...76) = "}"
│ │ └── @ StringNode (location: (76...77))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (76...77) = "\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "\n"
│ └── closing_loc: (77...81) = "EOF\n"
├── @ InterpolatedStringNode (location: (82...88))
│ ├── opening_loc: (82...88) = "<<-EOF"
│ ├── parts: (length: 1)
│ │ └── @ StringNode (location: (98...102))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (98...102) = " a\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " a\n"
│ └── closing_loc: (102...106) = "EOF\n"
├── @ InterpolatedStringNode (location: (107...113))
│ ├── opening_loc: (107...113) = "<<-EOF"
│ ├── parts: (length: 1)
│ │ └── @ StringNode (location: (114...122))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (114...122) = " a\n b\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " a\n b\n"
│ └── closing_loc: (122...128) = " EOF\n"
├── @ InterpolatedStringNode (location: (129...137))
│ ├── opening_loc: (129...137) = "<<-\"EOF\""
│ ├── parts: (length: 3)
│ │ ├── @ StringNode (location: (138...142))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (138...142) = " a\n"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: " a\n"
│ │ ├── @ EmbeddedStatementsNode (location: (142...146))
│ │ │ ├── opening_loc: (142...144) = "\#{"
│ │ │ ├── statements:
│ │ │ │ @ StatementsNode (location: (144...145))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (144...145))
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── message_loc: (144...145) = "b"
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── arguments: ∅
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ ├── block: ∅
│ │ │ │ ├── flags: variable_call
│ │ │ │ └── name: "b"
│ │ │ └── closing_loc: (145...146) = "}"
│ │ └── @ StringNode (location: (146...147))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (146...147) = "\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "\n"
│ └── closing_loc: (147...151) = "EOF\n"
├── @ InterpolatedStringNode (location: (152...158))
│ ├── opening_loc: (152...158) = "<<-EOF"
│ ├── parts: (length: 3)
│ │ ├── @ StringNode (location: (159...163))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (159...163) = " a\n"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: " a\n"
│ │ ├── @ EmbeddedStatementsNode (location: (163...167))
│ │ │ ├── opening_loc: (163...165) = "\#{"
│ │ │ ├── statements:
│ │ │ │ @ StatementsNode (location: (165...166))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (165...166))
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── message_loc: (165...166) = "b"
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── arguments: ∅
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ ├── block: ∅
│ │ │ │ ├── flags: variable_call
│ │ │ │ └── name: "b"
│ │ │ └── closing_loc: (166...167) = "}"
│ │ └── @ StringNode (location: (167...168))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (167...168) = "\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "\n"
│ └── closing_loc: (168...172) = "EOF\n"
├── @ StringNode (location: (173...179))
│ ├── opening_loc: (173...175) = "%#"
│ ├── content_loc: (175...178) = "abc"
│ ├── closing_loc: (178...179) = "#"
│ └── unescaped: "abc"
├── @ InterpolatedStringNode (location: (181...187))
│ ├── opening_loc: (181...187) = "<<-EOF"
│ ├── parts: (length: 1)
│ │ └── @ StringNode (location: (188...196))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (188...196) = " a\n b\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " a\n b\n"
│ └── closing_loc: (196...200) = "EOF\n"
├── @ InterpolatedStringNode (location: (201...206))
│ ├── opening_loc: (201...206) = "<<-''"
│ ├── parts: (length: 0)
│ └── closing_loc: (207...208) = "\n"
├── @ InterpolatedStringNode (location: (209...217))
│ ├── opening_loc: (209...217) = "<<-'EOF'"
│ ├── parts: (length: 1)
│ │ └── @ StringNode (location: (218...227))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (218...227) = " a \#{1}\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " a \#{1}\n"
│ └── closing_loc: (227...231) = "EOF\n"
├── @ CallNode (location: (232...243))
│ ├── receiver:
│ │ @ InterpolatedStringNode (location: (232...236))
│ │ ├── opening_loc: (232...236) = "<<-A"
│ │ ├── parts: (length: 1)
│ │ │ └── @ StringNode (location: (244...248))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (244...248) = " a\n"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: " a\n"
│ │ └── closing_loc: (248...250) = "A\n"
│ ├── call_operator_loc: ∅
│ ├── message_loc: (237...238) = "+"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (239...243))
│ │ └── arguments: (length: 1)
│ │ └── @ InterpolatedStringNode (location: (239...243))
│ │ ├── opening_loc: (239...243) = "<<-B"
│ │ ├── parts: (length: 3)
│ │ │ ├── @ StringNode (location: (250...256))
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── content_loc: (250...256) = " b\n "
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ └── unescaped: " b\n "
│ │ │ ├── @ EmbeddedStatementsNode (location: (256...263))
│ │ │ │ ├── opening_loc: (256...258) = "\#{"
│ │ │ │ ├── statements:
│ │ │ │ │ @ StatementsNode (location: (258...259))
│ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ └── @ IntegerNode (location: (258...259))
│ │ │ │ │ └── flags: decimal
│ │ │ │ └── closing_loc: (262...263) = "}"
│ │ │ └── @ StringNode (location: (263...264))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (263...264) = "\n"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "\n"
│ │ └── closing_loc: (264...266) = "B\n"
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags:
│ └── name: "+"
└── @ CallNode (location: (267...278))
├── receiver:
│ @ InterpolatedStringNode (location: (267...271))
│ ├── opening_loc: (267...271) = "<<-A"
│ ├── parts: (length: 1)
│ │ └── @ StringNode (location: (279...283))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (279...283) = " a\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " a\n"
│ └── closing_loc: (283...285) = "A\n"
├── call_operator_loc: ∅
├── message_loc: (272...273) = "+"
├── opening_loc: ∅
├── arguments:
│ @ ArgumentsNode (location: (274...278))
│ └── arguments: (length: 1)
│ └── @ InterpolatedStringNode (location: (274...278))
│ ├── opening_loc: (274...278) = "<<-B"
│ ├── parts: (length: 3)
│ │ ├── @ StringNode (location: (285...291))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (285...291) = " b\n "
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: " b\n "
│ │ ├── @ EmbeddedStatementsNode (location: (291...298))
│ │ │ ├── opening_loc: (291...293) = "\#{"
│ │ │ ├── statements:
│ │ │ │ @ StatementsNode (location: (296...297))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ IntegerNode (location: (296...297))
│ │ │ │ └── flags: decimal
│ │ │ └── closing_loc: (297...298) = "}"
│ │ └── @ StringNode (location: (298...299))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (298...299) = "\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "\n"
│ └── closing_loc: (299...301) = "B\n"
├── closing_loc: ∅
├── block: ∅
├── flags:
└── name: "+"
|