aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/whitequark/rescue_in_lambda_block.txt
blob: 0208513ee3877dac575ea472d1147277dff8f172 (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
@ 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,6)-(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"
            └── numbered_parameters: 0