blob: 696056d542f6637fe3ed4c925a6d4a893291b37e (
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
|
@ ProgramNode (location: (0...9))
├── locals: []
└── statements:
@ StatementsNode (location: (0...9))
└── body: (length: 1)
└── @ CallNode (location: (0...9))
├── receiver:
│ @ CallNode (location: (0...3))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (0...3) = "foo"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "foo"
├── call_operator_loc: ∅
├── message_loc: (3...9) = "[1, 2]"
├── opening_loc: (3...4) = "["
├── arguments:
│ @ ArgumentsNode (location: (4...8))
│ └── arguments: (length: 2)
│ ├── @ IntegerNode (location: (4...5))
│ │ └── flags: decimal
│ └── @ IntegerNode (location: (7...8))
│ └── flags: decimal
├── closing_loc: (8...9) = "]"
├── block: ∅
├── flags: ∅
└── name: "[]"
|