blob: 130101650cd2d5bac63d791c8bf007037464dbad (
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...12))
├── locals: []
└── statements:
@ StatementsNode (location: (0...12))
└── body: (length: 1)
└── @ InterpolatedStringNode (location: (0...12))
├── opening_loc: (0...1) = "\""
├── parts: (length: 2)
│ ├── @ EmbeddedStatementsNode (location: (1...7))
│ │ ├── opening_loc: (1...3) = "\#{"
│ │ ├── statements:
│ │ │ @ StatementsNode (location: (3...6))
│ │ │ └── body: (length: 1)
│ │ │ └── @ StringNode (location: (3...6))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: (3...4) = "'"
│ │ │ ├── content_loc: (4...5) = "a"
│ │ │ ├── closing_loc: (5...6) = "'"
│ │ │ └── unescaped: "a"
│ │ └── closing_loc: (6...7) = "}"
│ └── @ EmbeddedStatementsNode (location: (7...11))
│ ├── opening_loc: (7...9) = "\#{"
│ ├── statements:
│ │ @ StatementsNode (location: (9...10))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (9...10))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── message_loc: (9...10) = "b"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: variable_call
│ │ └── name: "b"
│ └── closing_loc: (10...11) = "}"
└── closing_loc: (11...12) = "\""
|