blob: 0b752638e237a42d53424571087179dd9e0ac22c (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
@ ProgramNode (location: (0...28))
├── locals: []
└── statements:
@ StatementsNode (location: (0...28))
└── body: (length: 2)
├── @ CallOrWriteNode (location: (0...11))
│ ├── 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: (3...4) = "."
│ ├── message_loc: (4...5) = "a"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── flags: ∅
│ ├── read_name: "a"
│ ├── write_name: "a="
│ ├── operator_loc: (6...9) = "||="
│ └── value:
│ @ IntegerNode (location: (10...11))
│ └── flags: decimal
└── @ CallOrWriteNode (location: (13...28))
├── receiver:
│ @ CallNode (location: (13...16))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (13...16) = "foo"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "foo"
├── call_operator_loc: ∅
├── message_loc: (16...22) = "[0, 1]"
├── opening_loc: (16...17) = "["
├── arguments:
│ @ ArgumentsNode (location: (17...21))
│ └── arguments: (length: 2)
│ ├── @ IntegerNode (location: (17...18))
│ │ └── flags: decimal
│ └── @ IntegerNode (location: (20...21))
│ └── flags: decimal
├── closing_loc: (21...22) = "]"
├── flags: ∅
├── read_name: "[]"
├── write_name: "[]="
├── operator_loc: (23...26) = "||="
└── value:
@ IntegerNode (location: (27...28))
└── flags: decimal
|