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