1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
@ ProgramNode (location: (1,0)-(4,3))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(4,3))
└── body: (length: 1)
└── @ BeginNode (location: (1,0)-(4,3))
├── begin_keyword_loc: (1,0)-(1,5) = "begin"
├── statements: ∅
├── rescue_clause:
│ @ RescueNode (location: (2,0)-(2,6))
│ ├── keyword_loc: (2,0)-(2,6) = "rescue"
│ ├── exceptions: (length: 0)
│ ├── operator_loc: ∅
│ ├── reference: ∅
│ ├── statements: ∅
│ └── consequent: ∅
├── else_clause: ∅
├── ensure_clause:
│ @ EnsureNode (location: (3,0)-(4,3))
│ ├── ensure_keyword_loc: (3,0)-(3,6) = "ensure"
│ ├── statements: ∅
│ └── end_keyword_loc: (4,0)-(4,3) = "end"
└── end_keyword_loc: (4,0)-(4,3) = "end"
|