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