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
|
@ ProgramNode (location: (1,0)-(1,26))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,26))
└── body: (length: 1)
└── @ InterpolatedStringNode (location: (1,0)-(1,26))
├── flags: ∅
├── opening_loc: (1,0)-(1,3) = "%Q["
├── parts: (length: 3)
│ ├── @ StringNode (location: (1,3)-(1,11))
│ │ ├── flags: frozen
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (1,3)-(1,11) = "before ["
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "before ["
│ ├── @ EmbeddedStatementsNode (location: (1,11)-(1,18))
│ │ ├── opening_loc: (1,11)-(1,13) = "\#{"
│ │ ├── statements:
│ │ │ @ StatementsNode (location: (1,13)-(1,17))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,13)-(1,17))
│ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :nest
│ │ │ ├── message_loc: (1,13)-(1,17) = "nest"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── closing_loc: (1,17)-(1,18) = "}"
│ └── @ StringNode (location: (1,18)-(1,25))
│ ├── flags: frozen
│ ├── opening_loc: ∅
│ ├── content_loc: (1,18)-(1,25) = "] after"
│ ├── closing_loc: ∅
│ └── unescaped: "] after"
└── closing_loc: (1,25)-(1,26) = "]"
|