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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
|
@ ProgramNode (location: (1,0)-(105,4))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(105,4))
└── body: (length: 50)
├── @ StringNode (location: (1,0)-(1,6))
│ ├── flags: ∅
│ ├── opening_loc: (1,0)-(1,2) = "%%"
│ ├── content_loc: (1,2)-(1,5) = "abc"
│ ├── closing_loc: (1,5)-(1,6) = "%"
│ └── unescaped: "abc"
├── @ StringNode (location: (3,0)-(3,6))
│ ├── flags: ∅
│ ├── opening_loc: (3,0)-(3,2) = "%^"
│ ├── content_loc: (3,2)-(3,5) = "abc"
│ ├── closing_loc: (3,5)-(3,6) = "^"
│ └── unescaped: "abc"
├── @ StringNode (location: (5,0)-(5,6))
│ ├── flags: ∅
│ ├── opening_loc: (5,0)-(5,2) = "%&"
│ ├── content_loc: (5,2)-(5,5) = "abc"
│ ├── closing_loc: (5,5)-(5,6) = "&"
│ └── unescaped: "abc"
├── @ StringNode (location: (7,0)-(7,6))
│ ├── flags: ∅
│ ├── opening_loc: (7,0)-(7,2) = "%*"
│ ├── content_loc: (7,2)-(7,5) = "abc"
│ ├── closing_loc: (7,5)-(7,6) = "*"
│ └── unescaped: "abc"
├── @ StringNode (location: (9,0)-(9,6))
│ ├── flags: ∅
│ ├── opening_loc: (9,0)-(9,2) = "%_"
│ ├── content_loc: (9,2)-(9,5) = "abc"
│ ├── closing_loc: (9,5)-(9,6) = "_"
│ └── unescaped: "abc"
├── @ StringNode (location: (11,0)-(11,6))
│ ├── flags: ∅
│ ├── opening_loc: (11,0)-(11,2) = "%+"
│ ├── content_loc: (11,2)-(11,5) = "abc"
│ ├── closing_loc: (11,5)-(11,6) = "+"
│ └── unescaped: "abc"
├── @ StringNode (location: (13,0)-(13,6))
│ ├── flags: ∅
│ ├── opening_loc: (13,0)-(13,2) = "%-"
│ ├── content_loc: (13,2)-(13,5) = "abc"
│ ├── closing_loc: (13,5)-(13,6) = "-"
│ └── unescaped: "abc"
├── @ StringNode (location: (15,0)-(15,6))
│ ├── flags: ∅
│ ├── opening_loc: (15,0)-(15,2) = "%:"
│ ├── content_loc: (15,2)-(15,5) = "abc"
│ ├── closing_loc: (15,5)-(15,6) = ":"
│ └── unescaped: "abc"
├── @ StringNode (location: (17,0)-(17,6))
│ ├── flags: ∅
│ ├── opening_loc: (17,0)-(17,2) = "%;"
│ ├── content_loc: (17,2)-(17,5) = "abc"
│ ├── closing_loc: (17,5)-(17,6) = ";"
│ └── unescaped: "abc"
├── @ StringNode (location: (19,0)-(19,6))
│ ├── flags: ∅
│ ├── opening_loc: (19,0)-(19,2) = "%'"
│ ├── content_loc: (19,2)-(19,5) = "abc"
│ ├── closing_loc: (19,5)-(19,6) = "'"
│ └── unescaped: "abc"
├── @ StringNode (location: (21,0)-(21,6))
│ ├── flags: ∅
│ ├── opening_loc: (21,0)-(21,2) = "%~"
│ ├── content_loc: (21,2)-(21,5) = "abc"
│ ├── closing_loc: (21,5)-(21,6) = "~"
│ └── unescaped: "abc"
├── @ StringNode (location: (23,0)-(23,6))
│ ├── flags: ∅
│ ├── opening_loc: (23,0)-(23,2) = "%?"
│ ├── content_loc: (23,2)-(23,5) = "abc"
│ ├── closing_loc: (23,5)-(23,6) = "?"
│ └── unescaped: "abc"
├── @ ArrayNode (location: (25,0)-(25,8))
│ ├── elements: (length: 0)
│ ├── opening_loc: (25,0)-(25,3) = "%w{"
│ └── closing_loc: (25,7)-(25,8) = "}"
├── @ StringNode (location: (27,0)-(27,6))
│ ├── flags: ∅
│ ├── opening_loc: (27,0)-(27,2) = "%/"
│ ├── content_loc: (27,2)-(27,5) = "abc"
│ ├── closing_loc: (27,5)-(27,6) = "/"
│ └── unescaped: "abc"
├── @ StringNode (location: (29,0)-(29,6))
│ ├── flags: ∅
│ ├── opening_loc: (29,0)-(29,2) = "%`"
│ ├── content_loc: (29,2)-(29,5) = "abc"
│ ├── closing_loc: (29,5)-(29,6) = "`"
│ └── unescaped: "abc"
├── @ InterpolatedStringNode (location: (31,0)-(31,8))
│ ├── opening_loc: (31,0)-(31,1) = "\""
│ ├── parts: (length: 1)
│ │ └── @ EmbeddedVariableNode (location: (31,1)-(31,7))
│ │ ├── operator_loc: (31,1)-(31,2) = "#"
│ │ └── variable:
│ │ @ ClassVariableReadNode (location: (31,2)-(31,7))
│ │ └── name: :@@foo
│ └── closing_loc: (31,7)-(31,8) = "\""
├── @ StringNode (location: (33,0)-(33,6))
│ ├── flags: ∅
│ ├── opening_loc: (33,0)-(33,2) = "%\\"
│ ├── content_loc: (33,2)-(33,5) = "abc"
│ ├── closing_loc: (33,5)-(33,6) = "\\"
│ └── unescaped: "abc"
├── @ InterpolatedStringNode (location: (35,0)-(35,17))
│ ├── opening_loc: (35,0)-(35,2) = "%{"
│ ├── parts: (length: 3)
│ │ ├── @ StringNode (location: (35,2)-(35,6))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (35,2)-(35,6) = "aaa "
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "aaa "
│ │ ├── @ EmbeddedStatementsNode (location: (35,6)-(35,12))
│ │ │ ├── opening_loc: (35,6)-(35,8) = "\#{"
│ │ │ ├── statements:
│ │ │ │ @ StatementsNode (location: (35,8)-(35,11))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (35,8)-(35,11))
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── message_loc: (35,8)-(35,11) = "bbb"
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── arguments: ∅
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ ├── block: ∅
│ │ │ │ ├── flags: variable_call
│ │ │ │ └── name: "bbb"
│ │ │ └── closing_loc: (35,11)-(35,12) = "}"
│ │ └── @ StringNode (location: (35,12)-(35,16))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (35,12)-(35,16) = " ccc"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " ccc"
│ └── closing_loc: (35,16)-(35,17) = "}"
├── @ StringNode (location: (37,0)-(37,8))
│ ├── flags: ∅
│ ├── opening_loc: (37,0)-(37,2) = "%["
│ ├── content_loc: (37,2)-(37,7) = "foo[]"
│ ├── closing_loc: (37,7)-(37,8) = "]"
│ └── unescaped: "foo[]"
├── @ CallNode (location: (39,0)-(41,5))
│ ├── receiver:
│ │ @ StringNode (location: (39,0)-(39,5))
│ │ ├── flags: ∅
│ │ ├── opening_loc: (39,0)-(39,1) = "\""
│ │ ├── content_loc: (39,1)-(39,4) = "foo"
│ │ ├── closing_loc: (39,4)-(39,5) = "\""
│ │ └── unescaped: "foo"
│ ├── call_operator_loc: ∅
│ ├── message_loc: (39,6)-(39,7) = "+"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (41,0)-(41,5))
│ │ └── arguments: (length: 1)
│ │ └── @ StringNode (location: (41,0)-(41,5))
│ │ ├── flags: ∅
│ │ ├── opening_loc: (41,0)-(41,1) = "\""
│ │ ├── content_loc: (41,1)-(41,4) = "bar"
│ │ ├── closing_loc: (41,4)-(41,5) = "\""
│ │ └── unescaped: "bar"
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: ∅
│ └── name: "+"
├── @ StringNode (location: (43,0)-(43,7))
│ ├── flags: ∅
│ ├── opening_loc: (43,0)-(43,3) = "%q{"
│ ├── content_loc: (43,3)-(43,6) = "abc"
│ ├── closing_loc: (43,6)-(43,7) = "}"
│ └── unescaped: "abc"
├── @ SymbolNode (location: (45,0)-(45,7))
│ ├── opening_loc: (45,0)-(45,3) = "%s["
│ ├── value_loc: (45,3)-(45,6) = "abc"
│ ├── closing_loc: (45,6)-(45,7) = "]"
│ └── unescaped: "abc"
├── @ StringNode (location: (47,0)-(47,6))
│ ├── flags: ∅
│ ├── opening_loc: (47,0)-(47,2) = "%{"
│ ├── content_loc: (47,2)-(47,5) = "abc"
│ ├── closing_loc: (47,5)-(47,6) = "}"
│ └── unescaped: "abc"
├── @ StringNode (location: (49,0)-(49,2))
│ ├── flags: ∅
│ ├── opening_loc: (49,0)-(49,1) = "'"
│ ├── content_loc: (49,1)-(49,1) = ""
│ ├── closing_loc: (49,1)-(49,2) = "'"
│ └── unescaped: ""
├── @ StringNode (location: (51,0)-(51,5))
│ ├── flags: ∅
│ ├── opening_loc: (51,0)-(51,1) = "\""
│ ├── content_loc: (51,1)-(51,4) = "abc"
│ ├── closing_loc: (51,4)-(51,5) = "\""
│ └── unescaped: "abc"
├── @ StringNode (location: (53,0)-(53,7))
│ ├── flags: ∅
│ ├── opening_loc: (53,0)-(53,1) = "\""
│ ├── content_loc: (53,1)-(53,6) = "\#@---"
│ ├── closing_loc: (53,6)-(53,7) = "\""
│ └── unescaped: "\#@---"
├── @ InterpolatedStringNode (location: (55,0)-(55,16))
│ ├── opening_loc: (55,0)-(55,1) = "\""
│ ├── parts: (length: 3)
│ │ ├── @ StringNode (location: (55,1)-(55,5))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (55,1)-(55,5) = "aaa "
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "aaa "
│ │ ├── @ EmbeddedStatementsNode (location: (55,5)-(55,11))
│ │ │ ├── opening_loc: (55,5)-(55,7) = "\#{"
│ │ │ ├── statements:
│ │ │ │ @ StatementsNode (location: (55,7)-(55,10))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (55,7)-(55,10))
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── message_loc: (55,7)-(55,10) = "bbb"
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── arguments: ∅
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ ├── block: ∅
│ │ │ │ ├── flags: variable_call
│ │ │ │ └── name: "bbb"
│ │ │ └── closing_loc: (55,10)-(55,11) = "}"
│ │ └── @ StringNode (location: (55,11)-(55,15))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (55,11)-(55,15) = " ccc"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " ccc"
│ └── closing_loc: (55,15)-(55,16) = "\""
├── @ StringNode (location: (57,0)-(57,5))
│ ├── flags: ∅
│ ├── opening_loc: (57,0)-(57,1) = "'"
│ ├── content_loc: (57,1)-(57,4) = "abc"
│ ├── closing_loc: (57,4)-(57,5) = "'"
│ └── unescaped: "abc"
├── @ ArrayNode (location: (59,0)-(59,9))
│ ├── elements: (length: 3)
│ │ ├── @ StringNode (location: (59,3)-(59,4))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (59,3)-(59,4) = "a"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "a"
│ │ ├── @ StringNode (location: (59,5)-(59,6))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (59,5)-(59,6) = "b"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "b"
│ │ └── @ StringNode (location: (59,7)-(59,8))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (59,7)-(59,8) = "c"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "c"
│ ├── opening_loc: (59,0)-(59,3) = "%w["
│ └── closing_loc: (59,8)-(59,9) = "]"
├── @ ArrayNode (location: (61,0)-(61,17))
│ ├── elements: (length: 3)
│ │ ├── @ StringNode (location: (61,3)-(61,6))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (61,3)-(61,6) = "a[]"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "a[]"
│ │ ├── @ StringNode (location: (61,7)-(61,12))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (61,7)-(61,12) = "b[[]]"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "b[[]]"
│ │ └── @ StringNode (location: (61,13)-(61,16))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (61,13)-(61,16) = "c[]"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "c[]"
│ ├── opening_loc: (61,0)-(61,3) = "%w["
│ └── closing_loc: (61,16)-(61,17) = "]"
├── @ ArrayNode (location: (63,0)-(63,18))
│ ├── elements: (length: 2)
│ │ ├── @ StringNode (location: (63,3)-(63,11))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (63,3)-(63,11) = "foo\\ bar"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "foo bar"
│ │ └── @ StringNode (location: (63,12)-(63,17))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (63,12)-(63,17) = "\\\#{1}"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "\\\#{1}"
│ ├── opening_loc: (63,0)-(63,3) = "%w["
│ └── closing_loc: (63,17)-(63,18) = "]"
├── @ ArrayNode (location: (65,0)-(65,16))
│ ├── elements: (length: 2)
│ │ ├── @ StringNode (location: (65,3)-(65,11))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (65,3)-(65,11) = "foo\\ bar"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "foo bar"
│ │ └── @ StringNode (location: (65,12)-(65,15))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (65,12)-(65,15) = "baz"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "baz"
│ ├── opening_loc: (65,0)-(65,3) = "%w["
│ └── closing_loc: (65,15)-(65,16) = "]"
├── @ ArrayNode (location: (67,0)-(67,14))
│ ├── elements: (length: 3)
│ │ ├── @ StringNode (location: (67,3)-(67,4))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (67,3)-(67,4) = "a"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "a"
│ │ ├── @ InterpolatedStringNode (location: (67,5)-(67,11))
│ │ │ ├── opening_loc: ∅
│ │ │ ├── parts: (length: 3)
│ │ │ │ ├── @ StringNode (location: (67,5)-(67,6))
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ ├── opening_loc: ∅
│ │ │ │ │ ├── content_loc: (67,5)-(67,6) = "b"
│ │ │ │ │ ├── closing_loc: ∅
│ │ │ │ │ └── unescaped: "b"
│ │ │ │ ├── @ EmbeddedStatementsNode (location: (67,6)-(67,10))
│ │ │ │ │ ├── opening_loc: (67,6)-(67,8) = "\#{"
│ │ │ │ │ ├── statements:
│ │ │ │ │ │ @ StatementsNode (location: (67,8)-(67,9))
│ │ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ │ └── @ CallNode (location: (67,8)-(67,9))
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── message_loc: (67,8)-(67,9) = "c"
│ │ │ │ │ │ ├── opening_loc: ∅
│ │ │ │ │ │ ├── arguments: ∅
│ │ │ │ │ │ ├── closing_loc: ∅
│ │ │ │ │ │ ├── block: ∅
│ │ │ │ │ │ ├── flags: variable_call
│ │ │ │ │ │ └── name: "c"
│ │ │ │ │ └── closing_loc: (67,9)-(67,10) = "}"
│ │ │ │ └── @ StringNode (location: (67,10)-(67,11))
│ │ │ │ ├── flags: ∅
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── content_loc: (67,10)-(67,11) = "d"
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ └── unescaped: "d"
│ │ │ └── closing_loc: ∅
│ │ └── @ StringNode (location: (67,12)-(67,13))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (67,12)-(67,13) = "e"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "e"
│ ├── opening_loc: (67,0)-(67,3) = "%W["
│ └── closing_loc: (67,13)-(67,14) = "]"
├── @ ArrayNode (location: (69,0)-(69,9))
│ ├── elements: (length: 3)
│ │ ├── @ StringNode (location: (69,3)-(69,4))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (69,3)-(69,4) = "a"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "a"
│ │ ├── @ StringNode (location: (69,5)-(69,6))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (69,5)-(69,6) = "b"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "b"
│ │ └── @ StringNode (location: (69,7)-(69,8))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (69,7)-(69,8) = "c"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "c"
│ ├── opening_loc: (69,0)-(69,3) = "%W["
│ └── closing_loc: (69,8)-(69,9) = "]"
├── @ ArrayNode (location: (71,0)-(75,1))
│ ├── elements: (length: 3)
│ │ ├── @ StringNode (location: (72,2)-(72,3))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (72,2)-(72,3) = "a"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "a"
│ │ ├── @ StringNode (location: (73,2)-(73,3))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (73,2)-(73,3) = "b"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "b"
│ │ └── @ StringNode (location: (74,2)-(74,3))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (74,2)-(74,3) = "c"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "c"
│ ├── opening_loc: (71,0)-(71,3) = "%w["
│ └── closing_loc: (75,0)-(75,1) = "]"
├── @ StringNode (location: (77,0)-(77,15))
│ ├── flags: ∅
│ ├── opening_loc: (77,0)-(77,1) = "'"
│ ├── content_loc: (77,1)-(77,14) = "\\' foo \\' bar"
│ ├── closing_loc: (77,14)-(77,15) = "'"
│ └── unescaped: "' foo ' bar"
├── @ StringNode (location: (79,0)-(79,15))
│ ├── flags: ∅
│ ├── opening_loc: (79,0)-(79,1) = "'"
│ ├── content_loc: (79,1)-(79,14) = "\\\\ foo \\\\ bar"
│ ├── closing_loc: (79,14)-(79,15) = "'"
│ └── unescaped: "\\ foo \\ bar"
├── @ InterpolatedStringNode (location: (81,0)-(81,7))
│ ├── opening_loc: (81,0)-(81,1) = "\""
│ ├── parts: (length: 1)
│ │ └── @ EmbeddedVariableNode (location: (81,1)-(81,6))
│ │ ├── operator_loc: (81,1)-(81,2) = "#"
│ │ └── variable:
│ │ @ GlobalVariableReadNode (location: (81,2)-(81,6))
│ │ └── name: :$foo
│ └── closing_loc: (81,6)-(81,7) = "\""
├── @ InterpolatedStringNode (location: (83,0)-(83,7))
│ ├── opening_loc: (83,0)-(83,1) = "\""
│ ├── parts: (length: 1)
│ │ └── @ EmbeddedVariableNode (location: (83,1)-(83,6))
│ │ ├── operator_loc: (83,1)-(83,2) = "#"
│ │ └── variable:
│ │ @ InstanceVariableReadNode (location: (83,2)-(83,6))
│ │ └── name: :@foo
│ └── closing_loc: (83,6)-(83,7) = "\""
├── @ StringNode (location: (85,0)-(85,15))
│ ├── flags: ∅
│ ├── opening_loc: (85,0)-(85,1) = "\""
│ ├── content_loc: (85,1)-(85,14) = "\\x7 \\x23 \\x61"
│ ├── closing_loc: (85,14)-(85,15) = "\""
│ └── unescaped: "\a # a"
├── @ StringNode (location: (87,0)-(87,13))
│ ├── flags: ∅
│ ├── opening_loc: (87,0)-(87,1) = "\""
│ ├── content_loc: (87,1)-(87,12) = "\\7 \\43 \\141"
│ ├── closing_loc: (87,12)-(87,13) = "\""
│ └── unescaped: "\a # a"
├── @ StringNode (location: (89,0)-(89,6))
│ ├── flags: ∅
│ ├── opening_loc: (89,0)-(89,2) = "%["
│ ├── content_loc: (89,2)-(89,5) = "abc"
│ ├── closing_loc: (89,5)-(89,6) = "]"
│ └── unescaped: "abc"
├── @ StringNode (location: (91,0)-(91,6))
│ ├── flags: ∅
│ ├── opening_loc: (91,0)-(91,2) = "%("
│ ├── content_loc: (91,2)-(91,5) = "abc"
│ ├── closing_loc: (91,5)-(91,6) = ")"
│ └── unescaped: "abc"
├── @ StringNode (location: (93,0)-(93,6))
│ ├── flags: ∅
│ ├── opening_loc: (93,0)-(93,2) = "%@"
│ ├── content_loc: (93,2)-(93,5) = "abc"
│ ├── closing_loc: (93,5)-(93,6) = "@"
│ └── unescaped: "abc"
├── @ StringNode (location: (95,0)-(95,6))
│ ├── flags: ∅
│ ├── opening_loc: (95,0)-(95,2) = "%$"
│ ├── content_loc: (95,2)-(95,5) = "abc"
│ ├── closing_loc: (95,5)-(95,6) = "$"
│ └── unescaped: "abc"
├── @ StringNode (location: (97,0)-(97,2))
│ ├── flags: ∅
│ ├── opening_loc: (97,0)-(97,1) = "?"
│ ├── content_loc: (97,1)-(97,2) = "a"
│ ├── closing_loc: ∅
│ └── unescaped: "a"
├── @ StringConcatNode (location: (99,0)-(99,6))
│ ├── left:
│ │ @ StringNode (location: (99,0)-(99,2))
│ │ ├── flags: ∅
│ │ ├── opening_loc: (99,0)-(99,1) = "?"
│ │ ├── content_loc: (99,1)-(99,2) = "a"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "a"
│ └── right:
│ @ StringNode (location: (99,3)-(99,6))
│ ├── flags: ∅
│ ├── opening_loc: (99,3)-(99,4) = "\""
│ ├── content_loc: (99,4)-(99,5) = "a"
│ ├── closing_loc: (99,5)-(99,6) = "\""
│ └── unescaped: "a"
├── @ StringNode (location: (101,0)-(101,7))
│ ├── flags: ∅
│ ├── opening_loc: (101,0)-(101,3) = "%Q{"
│ ├── content_loc: (101,3)-(101,6) = "abc"
│ ├── closing_loc: (101,6)-(101,7) = "}"
│ └── unescaped: "abc"
├── @ StringNode (location: (103,0)-(103,5))
│ ├── flags: ∅
│ ├── opening_loc: (103,0)-(103,2) = "%^"
│ ├── content_loc: (103,2)-(103,4) = "\#$"
│ ├── closing_loc: (103,4)-(103,5) = "^"
│ └── unescaped: "\#$"
└── @ StringNode (location: (105,0)-(105,4))
├── flags: ∅
├── opening_loc: (105,0)-(105,2) = "%@"
├── content_loc: (105,2)-(105,3) = "#"
├── closing_loc: (105,3)-(105,4) = "@"
└── unescaped: "#"
|