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
|
@ ProgramNode (location: (1,0)-(7,2))
├── flags: ∅
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(7,2))
├── flags: ∅
└── body: (length: 1)
└── @ ArrayNode (location: (1,0)-(7,2))
├── flags: newline, static_literal
├── elements: (length: 2)
│ ├── @ InterpolatedStringNode (location: (1,1)-(1,4))
│ │ ├── flags: static_literal, mutable
│ │ ├── opening_loc: (1,1)-(1,4) = "<<A"
│ │ ├── parts: (length: 3)
│ │ │ ├── @ EmbeddedStatementsNode (location: (2,0)-(2,6))
│ │ │ │ ├── flags: ∅
│ │ │ │ ├── opening_loc: (2,0)-(2,2) = "\#{"
│ │ │ │ ├── statements:
│ │ │ │ │ @ StatementsNode (location: (2,2)-(2,5))
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ └── @ StringNode (location: (2,2)-(2,5))
│ │ │ │ │ ├── flags: static_literal, frozen
│ │ │ │ │ ├── opening_loc: (2,2)-(2,5) = "<<B"
│ │ │ │ │ ├── content_loc: (3,0)-(4,0) = "b\n"
│ │ │ │ │ ├── closing_loc: (4,0)-(5,0) = "B\n"
│ │ │ │ │ └── unescaped: "b\n"
│ │ │ │ └── closing_loc: (2,5)-(2,6) = "}"
│ │ │ ├── @ StringNode (location: (2,6)-(3,0))
│ │ │ │ ├── flags: static_literal, frozen
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── content_loc: (2,6)-(3,0) = "\n"
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ └── unescaped: "\n"
│ │ │ └── @ StringNode (location: (5,0)-(6,0))
│ │ │ ├── flags: static_literal, frozen
│ │ │ ├── opening_loc: ∅
│ │ │ ├── content_loc: (5,0)-(6,0) = "a\n"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "a\n"
│ │ └── closing_loc: (6,0)-(7,0) = "A\n"
│ └── @ IntegerNode (location: (7,0)-(7,1))
│ ├── flags: static_literal, decimal
│ └── value: 0
├── opening_loc: (1,0)-(1,1) = "["
└── closing_loc: (7,1)-(7,2) = "]"
|