summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/rescue_in_lambda_block.txt
blob: 2ab854cdd77f61d0b4e86a3821b4a34c938706ed (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
@ ProgramNode (location: (1,0)-(1,17))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,17))
    └── body: (length: 1)
        └── @ LambdaNode (location: (1,0)-(1,17))
            ├── locals: []
            ├── operator_loc: (1,0)-(1,2) = "->"
            ├── opening_loc: (1,3)-(1,5) = "do"
            ├── closing_loc: (1,14)-(1,17) = "end"
            ├── parameters: ∅
            └── body:
                @ BeginNode (location: (1,3)-(1,17))
                ├── begin_keyword_loc: ∅
                ├── statements: ∅
                ├── rescue_clause:
                │   @ RescueNode (location: (1,6)-(1,12))
                │   ├── keyword_loc: (1,6)-(1,12) = "rescue"
                │   ├── exceptions: (length: 0)
                │   ├── operator_loc: ∅
                │   ├── reference: ∅
                │   ├── statements: ∅
                │   └── consequent: ∅
                ├── else_clause: ∅
                ├── ensure_clause: ∅
                └── end_keyword_loc: (1,14)-(1,17) = "end"