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