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