aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/whitequark/super_block.txt
blob: 54e82b4b4ec2810a606f652b51a64eb3570faffa (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
@ ProgramNode (location: (0...35))
├── locals: []
└── statements:
    @ StatementsNode (location: (0...35))
    └── body: (length: 2)
        ├── @ ForwardingSuperNode (location: (0...12))
        │   └── block:
        │       @ BlockNode (location: (6...12))
        │       ├── locals: []
        │       ├── parameters: ∅
        │       ├── body: ∅
        │       ├── opening_loc: (6...8) = "do"
        │       └── closing_loc: (9...12) = "end"
        └── @ SuperNode (location: (14...35))
            ├── keyword_loc: (14...19) = "super"
            ├── lparen_loc: ∅
            ├── arguments:
            │   @ ArgumentsNode (location: (20...28))
            │   └── arguments: (length: 2)
            │       ├── @ CallNode (location: (20...23))
            │       │   ├── receiver: ∅
            │       │   ├── call_operator_loc: ∅
            │       │   ├── message_loc: (20...23) = "foo"
            │       │   ├── opening_loc: ∅
            │       │   ├── arguments: ∅
            │       │   ├── closing_loc: ∅
            │       │   ├── block: ∅
            │       │   ├── flags: variable_call
            │       │   └── name: "foo"
            │       └── @ CallNode (location: (25...28))
            │           ├── receiver: ∅
            │           ├── call_operator_loc: ∅
            │           ├── message_loc: (25...28) = "bar"
            │           ├── opening_loc: ∅
            │           ├── arguments: ∅
            │           ├── closing_loc: ∅
            │           ├── block: ∅
            │           ├── flags: variable_call
            │           └── name: "bar"
            ├── rparen_loc: ∅
            └── block:
                @ BlockNode (location: (29...35))
                ├── locals: []
                ├── parameters: ∅
                ├── body: ∅
                ├── opening_loc: (29...31) = "do"
                └── closing_loc: (32...35) = "end"