blob: 30ee6adc207925b3c4bbbed99c4d1a57b37ac811 (
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
|
@ ProgramNode (location: (0...14))
├── locals: []
└── statements:
@ StatementsNode (location: (0...14))
└── body: (length: 1)
└── @ InterpolatedStringNode (location: (0...14))
├── opening_loc: (0...1) = "\""
├── parts: (length: 3)
│ ├── @ StringNode (location: (1...4))
│ │ ├── flags: ∅
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (1...4) = "foo"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "foo"
│ ├── @ EmbeddedStatementsNode (location: (4...10))
│ │ ├── opening_loc: (4...6) = "\#{"
│ │ ├── statements:
│ │ │ @ StatementsNode (location: (6...9))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (6...9))
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── message_loc: (6...9) = "bar"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ ├── block: ∅
│ │ │ ├── flags: variable_call
│ │ │ └── name: "bar"
│ │ └── closing_loc: (9...10) = "}"
│ └── @ StringNode (location: (10...13))
│ ├── flags: ∅
│ ├── opening_loc: ∅
│ ├── content_loc: (10...13) = "baz"
│ ├── closing_loc: ∅
│ └── unescaped: "baz"
└── closing_loc: (13...14) = "\""
|