blob: 020064b7b31afa498e0ad53ad8512d28eddd209e (
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
|
@ ProgramNode (location: (0...16))
├── locals: []
└── statements:
@ StatementsNode (location: (0...16))
└── body: (length: 1)
└── @ CallNode (location: (0...16))
├── receiver: ∅
├── call_operator_loc: ∅
├── message_loc: (0...1) = "f"
├── opening_loc: ∅
├── arguments:
│ @ ArgumentsNode (location: (2...16))
│ └── arguments: (length: 1)
│ └── @ ParenthesesNode (location: (2...16))
│ ├── body:
│ │ @ StatementsNode (location: (3...15))
│ │ └── body: (length: 1)
│ │ └── @ RescueModifierNode (location: (3...15))
│ │ ├── expression:
│ │ │ @ CallNode (location: (3...4))
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── message_loc: (3...4) = "g"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ ├── block: ∅
│ │ │ ├── flags: variable_call
│ │ │ └── name: "g"
│ │ ├── keyword_loc: (5...11) = "rescue"
│ │ └── rescue_expression:
│ │ @ NilNode (location: (12...15))
│ ├── opening_loc: (2...3) = "("
│ └── closing_loc: (15...16) = ")"
├── closing_loc: ∅
├── block: ∅
├── flags: ∅
└── name: "f"
|