1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "ETSGLOBAL", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 1, 14 "column": 1 15 }, 16 "end": { 17 "line": 1, 18 "column": 1 19 } 20 } 21 }, 22 "superClass": null, 23 "implements": [], 24 "body": [ 25 { 26 "type": "MethodDefinition", 27 "key": { 28 "type": "Identifier", 29 "name": "_$init$_", 30 "decorators": [], 31 "loc": { 32 "start": { 33 "line": 1, 34 "column": 1 35 }, 36 "end": { 37 "line": 1, 38 "column": 1 39 } 40 } 41 }, 42 "kind": "method", 43 "accessibility": "public", 44 "static": true, 45 "optional": false, 46 "computed": false, 47 "value": { 48 "type": "FunctionExpression", 49 "function": { 50 "type": "ScriptFunction", 51 "id": { 52 "type": "Identifier", 53 "name": "_$init$_", 54 "decorators": [], 55 "loc": { 56 "start": { 57 "line": 1, 58 "column": 1 59 }, 60 "end": { 61 "line": 1, 62 "column": 1 63 } 64 } 65 }, 66 "generator": false, 67 "async": false, 68 "expression": false, 69 "params": [], 70 "body": { 71 "type": "BlockStatement", 72 "statements": [ 73 { 74 "type": "ExpressionStatement", 75 "expression": { 76 "type": "AssignmentExpression", 77 "operator": "=", 78 "left": { 79 "type": "Identifier", 80 "name": "a", 81 "decorators": [], 82 "loc": { 83 "start": { 84 "line": 16, 85 "column": 5 86 }, 87 "end": { 88 "line": 16, 89 "column": 6 90 } 91 } 92 }, 93 "right": { 94 "type": "ArrayExpression", 95 "elements": [ 96 { 97 "type": "NumberLiteral", 98 "value": 1, 99 "loc": { 100 "start": { 101 "line": 16, 102 "column": 17 103 }, 104 "end": { 105 "line": 16, 106 "column": 18 107 } 108 } 109 }, 110 { 111 "type": "NumberLiteral", 112 "value": 2, 113 "loc": { 114 "start": { 115 "line": 16, 116 "column": 20 117 }, 118 "end": { 119 "line": 16, 120 "column": 21 121 } 122 } 123 }, 124 { 125 "type": "NumberLiteral", 126 "value": 3, 127 "loc": { 128 "start": { 129 "line": 16, 130 "column": 23 131 }, 132 "end": { 133 "line": 16, 134 "column": 24 135 } 136 } 137 } 138 ], 139 "loc": { 140 "start": { 141 "line": 16, 142 "column": 16 143 }, 144 "end": { 145 "line": 16, 146 "column": 25 147 } 148 } 149 }, 150 "loc": { 151 "start": { 152 "line": 16, 153 "column": 5 154 }, 155 "end": { 156 "line": 16, 157 "column": 25 158 } 159 } 160 }, 161 "loc": { 162 "start": { 163 "line": 16, 164 "column": 5 165 }, 166 "end": { 167 "line": 16, 168 "column": 25 169 } 170 } 171 } 172 ], 173 "loc": { 174 "start": { 175 "line": 1, 176 "column": 1 177 }, 178 "end": { 179 "line": 1, 180 "column": 1 181 } 182 } 183 }, 184 "loc": { 185 "start": { 186 "line": 1, 187 "column": 1 188 }, 189 "end": { 190 "line": 1, 191 "column": 1 192 } 193 } 194 }, 195 "loc": { 196 "start": { 197 "line": 1, 198 "column": 1 199 }, 200 "end": { 201 "line": 1, 202 "column": 1 203 } 204 } 205 }, 206 "overloads": [], 207 "decorators": [], 208 "loc": { 209 "start": { 210 "line": 1, 211 "column": 1 212 }, 213 "end": { 214 "line": 1, 215 "column": 1 216 } 217 } 218 }, 219 { 220 "type": "ClassProperty", 221 "key": { 222 "type": "Identifier", 223 "name": "a", 224 "decorators": [], 225 "loc": { 226 "start": { 227 "line": 16, 228 "column": 5 229 }, 230 "end": { 231 "line": 16, 232 "column": 6 233 } 234 } 235 }, 236 "accessibility": "public", 237 "static": true, 238 "readonly": false, 239 "declare": false, 240 "optional": false, 241 "computed": false, 242 "typeAnnotation": { 243 "type": "TSArrayType", 244 "elementType": { 245 "type": "ETSPrimitiveType", 246 "loc": { 247 "start": { 248 "line": 16, 249 "column": 8 250 }, 251 "end": { 252 "line": 16, 253 "column": 11 254 } 255 } 256 }, 257 "loc": { 258 "start": { 259 "line": 16, 260 "column": 14 261 }, 262 "end": { 263 "line": 16, 264 "column": 15 265 } 266 } 267 }, 268 "definite": false, 269 "decorators": [], 270 "loc": { 271 "start": { 272 "line": 16, 273 "column": 5 274 }, 275 "end": { 276 "line": 16, 277 "column": 25 278 } 279 } 280 }, 281 { 282 "type": "MethodDefinition", 283 "key": { 284 "type": "Identifier", 285 "name": "main", 286 "decorators": [], 287 "loc": { 288 "start": { 289 "line": 17, 290 "column": 10 291 }, 292 "end": { 293 "line": 17, 294 "column": 14 295 } 296 } 297 }, 298 "kind": "method", 299 "accessibility": "public", 300 "static": true, 301 "optional": false, 302 "computed": false, 303 "value": { 304 "type": "FunctionExpression", 305 "function": { 306 "type": "ScriptFunction", 307 "id": { 308 "type": "Identifier", 309 "name": "main", 310 "decorators": [], 311 "loc": { 312 "start": { 313 "line": 17, 314 "column": 10 315 }, 316 "end": { 317 "line": 17, 318 "column": 14 319 } 320 } 321 }, 322 "generator": false, 323 "async": false, 324 "expression": false, 325 "params": [], 326 "returnType": { 327 "type": "ETSPrimitiveType", 328 "loc": { 329 "start": { 330 "line": 17, 331 "column": 18 332 }, 333 "end": { 334 "line": 17, 335 "column": 22 336 } 337 } 338 }, 339 "body": { 340 "type": "BlockStatement", 341 "statements": [ 342 { 343 "type": "ForOfStatement", 344 "await": false, 345 "left": { 346 "type": "VariableDeclaration", 347 "declarations": [ 348 { 349 "type": "VariableDeclarator", 350 "id": { 351 "type": "Identifier", 352 "name": "v", 353 "decorators": [], 354 "loc": { 355 "start": { 356 "line": 18, 357 "column": 12 358 }, 359 "end": { 360 "line": 18, 361 "column": 13 362 } 363 } 364 }, 365 "init": null, 366 "loc": { 367 "start": { 368 "line": 18, 369 "column": 12 370 }, 371 "end": { 372 "line": 18, 373 "column": 13 374 } 375 } 376 } 377 ], 378 "kind": "let", 379 "loc": { 380 "start": { 381 "line": 18, 382 "column": 8 383 }, 384 "end": { 385 "line": 18, 386 "column": 13 387 } 388 } 389 }, 390 "right": { 391 "type": "Identifier", 392 "name": "a", 393 "decorators": [], 394 "loc": { 395 "start": { 396 "line": 18, 397 "column": 17 398 }, 399 "end": { 400 "line": 18, 401 "column": 18 402 } 403 } 404 }, 405 "body": { 406 "type": "BlockStatement", 407 "statements": [ 408 { 409 "type": "IfStatement", 410 "test": { 411 "type": "BinaryExpression", 412 "operator": "==", 413 "left": { 414 "type": "Identifier", 415 "name": "v", 416 "decorators": [], 417 "loc": { 418 "start": { 419 "line": 19, 420 "column": 9 421 }, 422 "end": { 423 "line": 19, 424 "column": 10 425 } 426 } 427 }, 428 "right": { 429 "type": "NumberLiteral", 430 "value": 2, 431 "loc": { 432 "start": { 433 "line": 19, 434 "column": 14 435 }, 436 "end": { 437 "line": 19, 438 "column": 15 439 } 440 } 441 }, 442 "loc": { 443 "start": { 444 "line": 19, 445 "column": 9 446 }, 447 "end": { 448 "line": 19, 449 "column": 15 450 } 451 } 452 }, 453 "consequent": { 454 "type": "BreakStatement", 455 "label": null, 456 "loc": { 457 "start": { 458 "line": 19, 459 "column": 17 460 }, 461 "end": { 462 "line": 19, 463 "column": 23 464 } 465 } 466 }, 467 "alternate": null, 468 "loc": { 469 "start": { 470 "line": 19, 471 "column": 5 472 }, 473 "end": { 474 "line": 19, 475 "column": 23 476 } 477 } 478 } 479 ], 480 "loc": { 481 "start": { 482 "line": 18, 483 "column": 20 484 }, 485 "end": { 486 "line": 20, 487 "column": 4 488 } 489 } 490 }, 491 "loc": { 492 "start": { 493 "line": 18, 494 "column": 3 495 }, 496 "end": { 497 "line": 20, 498 "column": 4 499 } 500 } 501 } 502 ], 503 "loc": { 504 "start": { 505 "line": 17, 506 "column": 23 507 }, 508 "end": { 509 "line": 21, 510 "column": 2 511 } 512 } 513 }, 514 "loc": { 515 "start": { 516 "line": 17, 517 "column": 14 518 }, 519 "end": { 520 "line": 21, 521 "column": 2 522 } 523 } 524 }, 525 "loc": { 526 "start": { 527 "line": 17, 528 "column": 14 529 }, 530 "end": { 531 "line": 21, 532 "column": 2 533 } 534 } 535 }, 536 "overloads": [], 537 "decorators": [], 538 "loc": { 539 "start": { 540 "line": 17, 541 "column": 1 542 }, 543 "end": { 544 "line": 21, 545 "column": 2 546 } 547 } 548 } 549 ], 550 "loc": { 551 "start": { 552 "line": 1, 553 "column": 1 554 }, 555 "end": { 556 "line": 1, 557 "column": 1 558 } 559 } 560 }, 561 "loc": { 562 "start": { 563 "line": 1, 564 "column": 1 565 }, 566 "end": { 567 "line": 1, 568 "column": 1 569 } 570 } 571 } 572 ], 573 "loc": { 574 "start": { 575 "line": 1, 576 "column": 1 577 }, 578 "end": { 579 "line": 22, 580 "column": 1 581 } 582 } 583} 584