summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/begin_ensure_no_bodies.txt
blob: e1698d0baefcc0bf26556601c102be03bacfc768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@ ProgramNode (location: (1,0)-(3,3))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(3,3))
    └── body: (length: 1)
        └── @ BeginNode (location: (1,0)-(3,3))
            ├── begin_keyword_loc: (1,0)-(1,5) = "begin"
            ├── statements: ∅
            ├── rescue_clause: ∅
            ├── else_clause: ∅
            ├── ensure_clause:
            │   @ EnsureNode (location: (2,0)-(3,3))
            │   ├── ensure_keyword_loc: (2,0)-(2,6) = "ensure"
            │   ├── statements: ∅
            │   └── end_keyword_loc: (3,0)-(3,3) = "end"
            └── end_keyword_loc: (3,0)-(3,3) = "end"