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