| 1 |
@ ProgramNode (location: (1,0)-(42,3)) |
| 2 |
├── locals: [] |
| 3 |
└── statements: |
| 4 |
@ StatementsNode (location: (1,0)-(42,3)) |
| 5 |
└── body: (length: 8) |
| 6 |
├── @ BeginNode (location: (1,0)-(3,3)) |
| 7 |
│ ├── begin_keyword_loc: (1,0)-(1,5) = "begin" |
| 8 |
│ ├── statements: ∅ |
| 9 |
│ ├── rescue_clause: |
| 10 |
│ │ @ RescueNode (location: (2,0)-(2,6)) |
| 11 |
│ │ ├── keyword_loc: (2,0)-(2,6) = "rescue" |
| 12 |
│ │ ├── exceptions: (length: 0) |
| 13 |
│ │ ├── operator_loc: ∅ |
| 14 |
│ │ ├── reference: ∅ |
| 15 |
│ │ ├── statements: ∅ |
| 16 |
│ │ └── consequent: ∅ |
| 17 |
│ ├── else_clause: ∅ |
| 18 |
│ ├── ensure_clause: ∅ |
| 19 |
│ └── end_keyword_loc: (3,0)-(3,3) = "end" |
| 20 |
├── @ BeginNode (location: (5,0)-(8,3)) |
| 21 |
│ ├── begin_keyword_loc: (5,0)-(5,5) = "begin" |
| 22 |
│ ├── statements: ∅ |
| 23 |
│ ├── rescue_clause: |
| 24 |
│ │ @ RescueNode (location: (6,0)-(6,6)) |
| 25 |
│ │ ├── keyword_loc: (6,0)-(6,6) = "rescue" |
| 26 |
│ │ ├── exceptions: (length: 0) |
| 27 |
│ │ ├── operator_loc: ∅ |
| 28 |
│ │ ├── reference: ∅ |
| 29 |
│ │ ├── statements: ∅ |
| 30 |
│ │ └── consequent: ∅ |
| 31 |
│ ├── else_clause: |
| 32 |
│ │ @ ElseNode (location: (7,0)-(8,3)) |
| 33 |
│ │ ├── else_keyword_loc: (7,0)-(7,4) = "else" |
| 34 |
│ │ ├── statements: ∅ |
| 35 |
│ │ └── end_keyword_loc: (8,0)-(8,3) = "end" |
| 36 |
│ ├── ensure_clause: ∅ |
| 37 |
│ └── end_keyword_loc: (8,0)-(8,3) = "end" |
| 38 |
├── @ BeginNode (location: (10,0)-(12,3)) |
| 39 |
│ ├── begin_keyword_loc: (10,0)-(10,5) = "begin" |
| 40 |
│ ├── statements: |
| 41 |
│ │ @ StatementsNode (location: (11,2)-(11,3)) |
| 42 |
│ │ └── body: (length: 1) |
| 43 |
│ │ └── @ CallNode (location: (11,2)-(11,3)) |
| 44 |
│ │ ├── flags: variable_call |
| 45 |
│ │ ├── receiver: ∅ |
| 46 |
│ │ ├── call_operator_loc: ∅ |
| 47 |
│ │ ├── name: :a |
| 48 |
│ │ ├── message_loc: (11,2)-(11,3) = "a" |
| 49 |
│ │ ├── opening_loc: ∅ |
| 50 |
│ │ ├── arguments: ∅ |
| 51 |
│ │ ├── closing_loc: ∅ |
| 52 |
│ │ └── block: ∅ |
| 53 |
│ ├── rescue_clause: ∅ |
| 54 |
│ ├── else_clause: ∅ |
| 55 |
│ ├── ensure_clause: ∅ |
| 56 |
│ └── end_keyword_loc: (12,0)-(12,3) = "end" |
| 57 |
├── @ BeginNode (location: (14,0)-(18,3)) |
| 58 |
│ ├── begin_keyword_loc: (14,0)-(14,5) = "begin" |
| 59 |
│ ├── statements: |
| 60 |
│ │ @ StatementsNode (location: (15,2)-(15,3)) |
| 61 |
│ │ └── body: (length: 1) |
| 62 |
│ │ └── @ CallNode (location: (15,2)-(15,3)) |
| 63 |
│ │ ├── flags: variable_call |
| 64 |
│ │ ├── receiver: ∅ |
| 65 |
│ │ ├── call_operator_loc: ∅ |
| 66 |
│ │ ├── name: :a |
| 67 |
│ │ ├── message_loc: (15,2)-(15,3) = "a" |
| 68 |
│ │ ├── opening_loc: ∅ |
| 69 |
│ │ ├── arguments: ∅ |
| 70 |
│ │ ├── closing_loc: ∅ |
| 71 |
│ │ └── block: ∅ |
| 72 |
│ ├── rescue_clause: |
| 73 |
│ │ @ RescueNode (location: (16,0)-(17,3)) |
| 74 |
│ │ ├── keyword_loc: (16,0)-(16,6) = "rescue" |
| 75 |
│ │ ├── exceptions: (length: 0) |
| 76 |
│ │ ├── operator_loc: ∅ |
| 77 |
│ │ ├── reference: ∅ |
| 78 |
│ │ ├── statements: |
| 79 |
│ │ │ @ StatementsNode (location: (17,2)-(17,3)) |
| 80 |
│ │ │ └── body: (length: 1) |
| 81 |
│ │ │ └── @ CallNode (location: (17,2)-(17,3)) |
| 82 |
│ │ │ ├── flags: variable_call |
| 83 |
│ │ │ ├── receiver: ∅ |
| 84 |
│ │ │ ├── call_operator_loc: ∅ |
| 85 |
│ │ │ ├── name: :b |
| 86 |
│ │ │ ├── message_loc: (17,2)-(17,3) = "b" |
| 87 |
│ │ │ ├── opening_loc: ∅ |
| 88 |
│ │ │ ├── arguments: ∅ |
| 89 |
│ │ │ ├── closing_loc: ∅ |
| 90 |
│ │ │ └── block: ∅ |
| 91 |
│ │ └── consequent: ∅ |
| 92 |
│ ├── else_clause: ∅ |
| 93 |
│ ├── ensure_clause: ∅ |
| 94 |
│ └── end_keyword_loc: (18,0)-(18,3) = "end" |
| 95 |
├── @ BeginNode (location: (20,0)-(25,3)) |
| 96 |
│ ├── begin_keyword_loc: (20,0)-(20,5) = "begin" |
| 97 |
│ ├── statements: |
| 98 |
│ │ @ StatementsNode (location: (21,2)-(22,3)) |
| 99 |
│ │ └── body: (length: 2) |
| 100 |
│ │ ├── @ CallNode (location: (21,2)-(21,3)) |
| 101 |
│ │ │ ├── flags: variable_call |
| 102 |
│ │ │ ├── receiver: ∅ |
| 103 |
│ │ │ ├── call_operator_loc: ∅ |
| 104 |
│ │ │ ├── name: :a |
| 105 |
│ │ │ ├── message_loc: (21,2)-(21,3) = "a" |
| 106 |
│ │ │ ├── opening_loc: ∅ |
| 107 |
│ │ │ ├── arguments: ∅ |
| 108 |
│ │ │ ├── closing_loc: ∅ |
| 109 |
│ │ │ └── block: ∅ |
| 110 |
│ │ └── @ CallNode (location: (22,2)-(22,3)) |
| 111 |
│ │ ├── flags: variable_call |
| 112 |
│ │ ├── receiver: ∅ |
| 113 |
│ │ ├── call_operator_loc: ∅ |
| 114 |
│ │ ├── name: :b |
| 115 |
│ │ ├── message_loc: (22,2)-(22,3) = "b" |
| 116 |
│ │ ├── opening_loc: ∅ |
| 117 |
│ │ ├── arguments: ∅ |
| 118 |
│ │ ├── closing_loc: ∅ |
| 119 |
│ │ └── block: ∅ |
| 120 |
│ ├── rescue_clause: |
| 121 |
│ │ @ RescueNode (location: (23,0)-(24,3)) |
| 122 |
│ │ ├── keyword_loc: (23,0)-(23,6) = "rescue" |
| 123 |
│ │ ├── exceptions: (length: 0) |
| 124 |
│ │ ├── operator_loc: ∅ |
| 125 |
│ │ ├── reference: ∅ |
| 126 |
│ │ ├── statements: |
| 127 |
│ │ │ @ StatementsNode (location: (24,2)-(24,3)) |
| 128 |
│ │ │ └── body: (length: 1) |
| 129 |
│ │ │ └── @ CallNode (location: (24,2)-(24,3)) |
| 130 |
│ │ │ ├── flags: variable_call |
| 131 |
│ │ │ ├── receiver: ∅ |
| 132 |
│ │ │ ├── call_operator_loc: ∅ |
| 133 |
│ │ │ ├── name: :b |
| 134 |
│ │ │ ├── message_loc: (24,2)-(24,3) = "b" |
| 135 |
│ │ │ ├── opening_loc: ∅ |
| 136 |
│ │ │ ├── arguments: ∅ |
| 137 |
│ │ │ ├── closing_loc: ∅ |
| 138 |
│ │ │ └── block: ∅ |
| 139 |
│ │ └── consequent: ∅ |
| 140 |
│ ├── else_clause: ∅ |
| 141 |
│ ├── ensure_clause: ∅ |
| 142 |
│ └── end_keyword_loc: (25,0)-(25,3) = "end" |
| 143 |
├── @ BeginNode (location: (27,0)-(30,3)) |
| 144 |
│ ├── begin_keyword_loc: (27,0)-(27,5) = "begin" |
| 145 |
│ ├── statements: ∅ |
| 146 |
│ ├── rescue_clause: |
| 147 |
│ │ @ RescueNode (location: (28,0)-(28,8)) |
| 148 |
│ │ ├── keyword_loc: (28,0)-(28,6) = "rescue" |
| 149 |
│ │ ├── exceptions: (length: 1) |
| 150 |
│ │ │ └── @ ConstantReadNode (location: (28,7)-(28,8)) |
| 151 |
│ │ │ └── name: :A |
| 152 |
│ │ ├── operator_loc: ∅ |
| 153 |
│ │ ├── reference: ∅ |
| 154 |
│ │ ├── statements: ∅ |
| 155 |
│ │ └── consequent: ∅ |
| 156 |
│ ├── else_clause: |
| 157 |
│ │ @ ElseNode (location: (29,0)-(30,3)) |
| 158 |
│ │ ├── else_keyword_loc: (29,0)-(29,4) = "else" |
| 159 |
│ │ ├── statements: ∅ |
| 160 |
│ │ └── end_keyword_loc: (30,0)-(30,3) = "end" |
| 161 |
│ ├── ensure_clause: ∅ |
| 162 |
│ └── end_keyword_loc: (30,0)-(30,3) = "end" |
| 163 |
├── @ BeginNode (location: (32,0)-(32,26)) |
| 164 |
│ ├── begin_keyword_loc: (32,0)-(32,5) = "begin" |
| 165 |
│ ├── statements: ∅ |
| 166 |
│ ├── rescue_clause: |
| 167 |
│ │ @ RescueNode (location: (32,7)-(32,15)) |
| 168 |
│ │ ├── keyword_loc: (32,7)-(32,13) = "rescue" |
| 169 |
│ │ ├── exceptions: (length: 1) |
| 170 |
│ │ │ └── @ ConstantReadNode (location: (32,14)-(32,15)) |
| 171 |
│ │ │ └── name: :A |
| 172 |
│ │ ├── operator_loc: ∅ |
| 173 |
│ │ ├── reference: ∅ |
| 174 |
│ │ ├── statements: ∅ |
| 175 |
│ │ └── consequent: ∅ |
| 176 |
│ ├── else_clause: |
| 177 |
│ │ @ ElseNode (location: (32,17)-(32,26)) |
| 178 |
│ │ ├── else_keyword_loc: (32,17)-(32,21) = "else" |
| 179 |
│ │ ├── statements: ∅ |
| 180 |
│ │ └── end_keyword_loc: (32,23)-(32,26) = "end" |
| 181 |
│ ├── ensure_clause: ∅ |
| 182 |
│ └── end_keyword_loc: (32,23)-(32,26) = "end" |
| 183 |
└── @ BeginNode (location: (34,0)-(42,3)) |
| 184 |
├── begin_keyword_loc: (34,0)-(34,5) = "begin" |
| 185 |
├── statements: |
| 186 |
│ @ StatementsNode (location: (35,2)-(35,3)) |
| 187 |
│ └── body: (length: 1) |
| 188 |
│ └── @ CallNode (location: (35,2)-(35,3)) |
| 189 |
│ ├── flags: variable_call |
| 190 |
│ ├── receiver: ∅ |
| 191 |
│ ├── call_operator_loc: ∅ |
| 192 |
│ ├── name: :a |
| 193 |
│ ├── message_loc: (35,2)-(35,3) = "a" |
| 194 |
│ ├── opening_loc: ∅ |
| 195 |
│ ├── arguments: ∅ |
| 196 |
│ ├── closing_loc: ∅ |
| 197 |
│ └── block: ∅ |
| 198 |
├── rescue_clause: |
| 199 |
│ @ RescueNode (location: (36,0)-(39,3)) |
| 200 |
│ ├── keyword_loc: (36,0)-(36,6) = "rescue" |
| 201 |
│ ├── exceptions: (length: 1) |
| 202 |
│ │ └── @ ConstantReadNode (location: (36,7)-(36,8)) |
| 203 |
│ │ └── name: :A |
| 204 |
│ ├── operator_loc: ∅ |
| 205 |
│ ├── reference: ∅ |
| 206 |
│ ├── statements: |
| 207 |
│ │ @ StatementsNode (location: (37,2)-(37,3)) |
| 208 |
│ │ └── body: (length: 1) |
| 209 |
│ │ └── @ CallNode (location: (37,2)-(37,3)) |
| 210 |
│ │ ├── flags: variable_call |
| 211 |
│ │ ├── receiver: ∅ |
| 212 |
│ │ ├── call_operator_loc: ∅ |
| 213 |
│ │ ├── name: :b |
| 214 |
│ │ ├── message_loc: (37,2)-(37,3) = "b" |
| 215 |
│ │ ├── opening_loc: ∅ |
| 216 |
│ │ ├── arguments: ∅ |
| 217 |
│ │ ├── closing_loc: ∅ |
| 218 |
│ │ └── block: ∅ |
| 219 |
│ └── consequent: |
| 220 |
│ @ RescueNode (location: (38,0)-(39,3)) |
| 221 |
│ ├── keyword_loc: (38,0)-(38,6) = "rescue" |
| 222 |
│ ├── exceptions: (length: 1) |
| 223 |
│ │ └── @ ConstantReadNode (location: (38,7)-(38,8)) |
| 224 |
│ │ └── name: :B |
| 225 |
│ ├── operator_loc: ∅ |
| 226 |
│ ├── reference: ∅ |
| 227 |
│ ├── statements: |
| 228 |
│ │ @ StatementsNode (location: (39,2)-(39,3)) |
| 229 |
│ │ └── body: (length: 1) |
| 230 |
│ │ └── @ CallNode (location: (39,2)-(39,3)) |
| 231 |
│ │ ├── flags: variable_call |
| 232 |
│ │ ├── receiver: ∅ |
| 233 |
│ │ ├── call_operator_loc: ∅ |
| 234 |
│ │ ├── name: :c |
| 235 |
│ │ ├── message_loc: (39,2)-(39,3) = "c" |
| 236 |
│ │ ├── opening_loc: ∅ |
| 237 |
│ │ ├── arguments: ∅ |
| 238 |
│ │ ├── closing_loc: ∅ |
| 239 |
│ │ └── block: ∅ |
| 240 |
│ └── consequent: ∅ |
| 241 |
├── else_clause: ∅ |
| 242 |
├── ensure_clause: |
| 243 |
│ @ EnsureNode (location: (40,0)-(42,3)) |
| 244 |
│ ├── ensure_keyword_loc: (40,0)-(40,6) = "ensure" |
| 245 |
│ ├── statements: |
| 246 |
│ │ @ StatementsNode (location: (41,2)-(41,3)) |
| 247 |
│ │ └── body: (length: 1) |
| 248 |
│ │ └── @ CallNode (location: (41,2)-(41,3)) |
| 249 |
│ │ ├── flags: variable_call |
| 250 |
│ │ ├── receiver: ∅ |
| 251 |
│ │ ├── call_operator_loc: ∅ |
| 252 |
│ │ ├── name: :d |
| 253 |
│ │ ├── message_loc: (41,2)-(41,3) = "d" |
| 254 |
│ │ ├── opening_loc: ∅ |
| 255 |
│ │ ├── arguments: ∅ |
| 256 |
│ │ ├── closing_loc: ∅ |
| 257 |
│ │ └── block: ∅ |
| 258 |
│ └── end_keyword_loc: (42,0)-(42,3) = "end" |
| 259 |
└── end_keyword_loc: (42,0)-(42,3) = "end" |