summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/rescue_mod.txt
blob: cd4f0fff45f8586cfde1630cd263b7290d8d3c4d (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
@ ProgramNode (location: (1,0)-(1,15))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,15))
    └── body: (length: 1)
        └── @ RescueModifierNode (location: (1,0)-(1,15))
            ├── expression:
            │   @ CallNode (location: (1,0)-(1,4))
            │   ├── flags: variable_call, ignore_visibility
            │   ├── receiver: ∅
            │   ├── call_operator_loc: ∅
            │   ├── name: :meth
            │   ├── message_loc: (1,0)-(1,4) = "meth"
            │   ├── opening_loc: ∅
            │   ├── arguments: ∅
            │   ├── closing_loc: ∅
            │   └── block: ∅
            ├── keyword_loc: (1,5)-(1,11) = "rescue"
            └── rescue_expression:
                @ CallNode (location: (1,12)-(1,15))
                ├── flags: variable_call, ignore_visibility
                ├── receiver: ∅
                ├── call_operator_loc: ∅
                ├── name: :bar
                ├── message_loc: (1,12)-(1,15) = "bar"
                ├── opening_loc: ∅
                ├── arguments: ∅
                ├── closing_loc: ∅
                └── block: ∅