summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/args_block_pass.txt
blob: 99ffa81934f13d1bbc100d0ea55767e827f945e3 (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
@ ProgramNode (location: (1,0)-(1,8))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,8))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,8))
            ├── flags: ignore_visibility
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :fun
            ├── message_loc: (1,0)-(1,3) = "fun"
            ├── opening_loc: (1,3)-(1,4) = "("
            ├── arguments: ∅
            ├── closing_loc: (1,8)-(1,9) = ")"
            └── block:
                @ BlockArgumentNode (location: (1,4)-(1,8))
                ├── expression:
                │   @ CallNode (location: (1,5)-(1,8))
                │   ├── flags: variable_call, ignore_visibility
                │   ├── receiver: ∅
                │   ├── call_operator_loc: ∅
                │   ├── name: :bar
                │   ├── message_loc: (1,5)-(1,8) = "bar"
                │   ├── opening_loc: ∅
                │   ├── arguments: ∅
                │   ├── closing_loc: ∅
                │   └── block: ∅
                └── operator_loc: (1,4)-(1,5) = "&"