summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/rescue_in_block.txt
blob: daac2b677633360398300732fb1fffbcfb27df6f (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: (1,0)-(4,3))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(4,3))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(4,3))
            ├── flags: ignore_visibility
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :blah
            ├── message_loc: (1,0)-(1,4) = "blah"
            ├── opening_loc: ∅
            ├── arguments: ∅
            ├── closing_loc: ∅
            └── block:
                @ BlockNode (location: (1,5)-(4,3))
                ├── locals: []
                ├── parameters: ∅
                ├── body:
                │   @ BeginNode (location: (1,5)-(4,3))
                │   ├── begin_keyword_loc: ∅
                │   ├── statements: ∅
                │   ├── rescue_clause:
                │   │   @ RescueNode (location: (2,0)-(3,7))
                │   │   ├── keyword_loc: (2,0)-(2,6) = "rescue"
                │   │   ├── exceptions: (length: 0)
                │   │   ├── operator_loc: ∅
                │   │   ├── reference: ∅
                │   │   ├── statements:
                │   │   │   @ StatementsNode (location: (3,2)-(3,7))
                │   │   │   └── body: (length: 1)
                │   │   │       └── @ CallNode (location: (3,2)-(3,7))
                │   │   │           ├── flags: variable_call, ignore_visibility
                │   │   │           ├── receiver: ∅
                │   │   │           ├── call_operator_loc: ∅
                │   │   │           ├── name: :stuff
                │   │   │           ├── message_loc: (3,2)-(3,7) = "stuff"
                │   │   │           ├── opening_loc: ∅
                │   │   │           ├── arguments: ∅
                │   │   │           ├── closing_loc: ∅
                │   │   │           └── block: ∅
                │   │   └── consequent: ∅
                │   ├── else_clause: ∅
                │   ├── ensure_clause: ∅
                │   └── end_keyword_loc: (4,0)-(4,3) = "end"
                ├── opening_loc: (1,5)-(1,7) = "do"
                └── closing_loc: (4,0)-(4,3) = "end"