1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "IfStatement", 6 "test": { 7 "type": "NumberLiteral", 8 "value": 1, 9 "loc": { 10 "start": { 11 "line": 17, 12 "column": 5 13 }, 14 "end": { 15 "line": 17, 16 "column": 6 17 } 18 } 19 }, 20 "consequent": { 21 "type": "BlockStatement", 22 "statements": [ 23 { 24 "type": "VariableDeclaration", 25 "declarations": [ 26 { 27 "type": "VariableDeclarator", 28 "id": { 29 "type": "Identifier", 30 "name": "E1", 31 "loc": { 32 "start": { 33 "line": 1, 34 "column": 1 35 }, 36 "end": { 37 "line": 1, 38 "column": 1 39 } 40 } 41 }, 42 "init": null, 43 "loc": { 44 "start": { 45 "line": 1, 46 "column": 1 47 }, 48 "end": { 49 "line": 1, 50 "column": 1 51 } 52 } 53 } 54 ], 55 "kind": "var", 56 "loc": { 57 "start": { 58 "line": 17, 59 "column": 8 60 }, 61 "end": { 62 "line": 17, 63 "column": 17 64 } 65 } 66 }, 67 { 68 "type": "ExpressionStatement", 69 "expression": { 70 "type": "CallExpression", 71 "callee": { 72 "type": "FunctionExpression", 73 "function": { 74 "type": "ScriptFunction", 75 "id": null, 76 "generator": false, 77 "async": false, 78 "expression": false, 79 "params": [ 80 { 81 "type": "Identifier", 82 "name": "E1", 83 "loc": { 84 "start": { 85 "line": 1, 86 "column": 1 87 }, 88 "end": { 89 "line": 1, 90 "column": 1 91 } 92 } 93 } 94 ], 95 "body": { 96 "type": "BlockStatement", 97 "statements": [], 98 "loc": { 99 "start": { 100 "line": 1, 101 "column": 1 102 }, 103 "end": { 104 "line": 1, 105 "column": 1 106 } 107 } 108 }, 109 "loc": { 110 "start": { 111 "line": 1, 112 "column": 1 113 }, 114 "end": { 115 "line": 1, 116 "column": 1 117 } 118 } 119 }, 120 "loc": { 121 "start": { 122 "line": 1, 123 "column": 1 124 }, 125 "end": { 126 "line": 1, 127 "column": 1 128 } 129 } 130 }, 131 "arguments": [ 132 { 133 "type": "LogicalExpression", 134 "operator": "||", 135 "left": { 136 "type": "Identifier", 137 "name": "E1", 138 "loc": { 139 "start": { 140 "line": 1, 141 "column": 1 142 }, 143 "end": { 144 "line": 1, 145 "column": 1 146 } 147 } 148 }, 149 "right": { 150 "type": "AssignmentExpression", 151 "operator": "=", 152 "left": { 153 "type": "Identifier", 154 "name": "E1", 155 "loc": { 156 "start": { 157 "line": 1, 158 "column": 1 159 }, 160 "end": { 161 "line": 1, 162 "column": 1 163 } 164 } 165 }, 166 "right": { 167 "type": "ObjectExpression", 168 "properties": [], 169 "loc": { 170 "start": { 171 "line": 1, 172 "column": 1 173 }, 174 "end": { 175 "line": 1, 176 "column": 1 177 } 178 } 179 }, 180 "loc": { 181 "start": { 182 "line": 1, 183 "column": 1 184 }, 185 "end": { 186 "line": 1, 187 "column": 1 188 } 189 } 190 }, 191 "loc": { 192 "start": { 193 "line": 1, 194 "column": 1 195 }, 196 "end": { 197 "line": 1, 198 "column": 1 199 } 200 } 201 } 202 ], 203 "optional": false, 204 "loc": { 205 "start": { 206 "line": 1, 207 "column": 1 208 }, 209 "end": { 210 "line": 1, 211 "column": 1 212 } 213 } 214 }, 215 "loc": { 216 "start": { 217 "line": 17, 218 "column": 8 219 }, 220 "end": { 221 "line": 17, 222 "column": 17 223 } 224 } 225 } 226 ], 227 "loc": { 228 "start": { 229 "line": 1, 230 "column": 1 231 }, 232 "end": { 233 "line": 1, 234 "column": 1 235 } 236 } 237 }, 238 "alternate": { 239 "type": "BlockStatement", 240 "statements": [ 241 { 242 "type": "ExpressionStatement", 243 "expression": { 244 "type": "CallExpression", 245 "callee": { 246 "type": "FunctionExpression", 247 "function": { 248 "type": "ScriptFunction", 249 "id": null, 250 "generator": false, 251 "async": false, 252 "expression": false, 253 "params": [ 254 { 255 "type": "Identifier", 256 "name": "E1", 257 "loc": { 258 "start": { 259 "line": 1, 260 "column": 1 261 }, 262 "end": { 263 "line": 1, 264 "column": 1 265 } 266 } 267 } 268 ], 269 "body": { 270 "type": "BlockStatement", 271 "statements": [], 272 "loc": { 273 "start": { 274 "line": 1, 275 "column": 1 276 }, 277 "end": { 278 "line": 1, 279 "column": 1 280 } 281 } 282 }, 283 "loc": { 284 "start": { 285 "line": 1, 286 "column": 1 287 }, 288 "end": { 289 "line": 1, 290 "column": 1 291 } 292 } 293 }, 294 "loc": { 295 "start": { 296 "line": 1, 297 "column": 1 298 }, 299 "end": { 300 "line": 1, 301 "column": 1 302 } 303 } 304 }, 305 "arguments": [ 306 { 307 "type": "LogicalExpression", 308 "operator": "||", 309 "left": { 310 "type": "Identifier", 311 "name": "E1", 312 "loc": { 313 "start": { 314 "line": 1, 315 "column": 1 316 }, 317 "end": { 318 "line": 1, 319 "column": 1 320 } 321 } 322 }, 323 "right": { 324 "type": "AssignmentExpression", 325 "operator": "=", 326 "left": { 327 "type": "Identifier", 328 "name": "E1", 329 "loc": { 330 "start": { 331 "line": 1, 332 "column": 1 333 }, 334 "end": { 335 "line": 1, 336 "column": 1 337 } 338 } 339 }, 340 "right": { 341 "type": "ObjectExpression", 342 "properties": [], 343 "loc": { 344 "start": { 345 "line": 1, 346 "column": 1 347 }, 348 "end": { 349 "line": 1, 350 "column": 1 351 } 352 } 353 }, 354 "loc": { 355 "start": { 356 "line": 1, 357 "column": 1 358 }, 359 "end": { 360 "line": 1, 361 "column": 1 362 } 363 } 364 }, 365 "loc": { 366 "start": { 367 "line": 1, 368 "column": 1 369 }, 370 "end": { 371 "line": 1, 372 "column": 1 373 } 374 } 375 } 376 ], 377 "optional": false, 378 "loc": { 379 "start": { 380 "line": 1, 381 "column": 1 382 }, 383 "end": { 384 "line": 1, 385 "column": 1 386 } 387 } 388 }, 389 "loc": { 390 "start": { 391 "line": 18, 392 "column": 6 393 }, 394 "end": { 395 "line": 18, 396 "column": 15 397 } 398 } 399 } 400 ], 401 "loc": { 402 "start": { 403 "line": 1, 404 "column": 1 405 }, 406 "end": { 407 "line": 1, 408 "column": 1 409 } 410 } 411 }, 412 "loc": { 413 "start": { 414 "line": 17, 415 "column": 1 416 }, 417 "end": { 418 "line": 18, 419 "column": 15 420 } 421 } 422 } 423 ], 424 "loc": { 425 "start": { 426 "line": 1, 427 "column": 1 428 }, 429 "end": { 430 "line": 19, 431 "column": 1 432 } 433 } 434} 435Transformed AST structure check passed. 436