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 "declare": true, 167 "loc": { 168 "start": { 169 "line": 19, 170 "column": 9 171 }, 172 "end": { 173 "line": 19, 174 "column": 25 175 } 176 } 177 }, 178 "loc": { 179 "start": { 180 "line": 19, 181 "column": 9 182 }, 183 "end": { 184 "line": 19, 185 "column": 25 186 } 187 } 188 }, 189 "overloads": [], 190 "decorators": [], 191 "loc": { 192 "start": { 193 "line": 19, 194 "column": 5 195 }, 196 "end": { 197 "line": 19, 198 "column": 26 199 } 200 } 201 } 202 ], 203 "loc": { 204 "start": { 205 "line": 18, 206 "column": 16 207 }, 208 "end": { 209 "line": 20, 210 "column": 2 211 } 212 } 213 }, 214 "id": { 215 "type": "Identifier", 216 "name": "from", 217 "decorators": [], 218 "loc": { 219 "start": { 220 "line": 18, 221 "column": 11 222 }, 223 "end": { 224 "line": 18, 225 "column": 15 226 } 227 } 228 }, 229 "extends": [], 230 "loc": { 231 "start": { 232 "line": 18, 233 "column": 1 234 }, 235 "end": { 236 "line": 22, 237 "column": 9 238 } 239 } 240 }, 241 { 242 "type": "ClassDeclaration", 243 "definition": { 244 "id": { 245 "type": "Identifier", 246 "name": "ETSGLOBAL", 247 "decorators": [], 248 "loc": { 249 "start": { 250 "line": 1, 251 "column": 1 252 }, 253 "end": { 254 "line": 1, 255 "column": 1 256 } 257 } 258 }, 259 "superClass": null, 260 "implements": [], 261 "body": [ 262 { 263 "type": "MethodDefinition", 264 "key": { 265 "type": "Identifier", 266 "name": "_$init$_", 267 "decorators": [], 268 "loc": { 269 "start": { 270 "line": 1, 271 "column": 1 272 }, 273 "end": { 274 "line": 1, 275 "column": 1 276 } 277 } 278 }, 279 "kind": "method", 280 "accessibility": "public", 281 "static": true, 282 "optional": false, 283 "computed": false, 284 "value": { 285 "type": "FunctionExpression", 286 "function": { 287 "type": "ScriptFunction", 288 "id": { 289 "type": "Identifier", 290 "name": "_$init$_", 291 "decorators": [], 292 "loc": { 293 "start": { 294 "line": 1, 295 "column": 1 296 }, 297 "end": { 298 "line": 1, 299 "column": 1 300 } 301 } 302 }, 303 "generator": false, 304 "async": false, 305 "expression": false, 306 "params": [], 307 "body": { 308 "type": "BlockStatement", 309 "statements": [], 310 "loc": { 311 "start": { 312 "line": 1, 313 "column": 1 314 }, 315 "end": { 316 "line": 1, 317 "column": 1 318 } 319 } 320 }, 321 "loc": { 322 "start": { 323 "line": 1, 324 "column": 1 325 }, 326 "end": { 327 "line": 1, 328 "column": 1 329 } 330 } 331 }, 332 "loc": { 333 "start": { 334 "line": 1, 335 "column": 1 336 }, 337 "end": { 338 "line": 1, 339 "column": 1 340 } 341 } 342 }, 343 "overloads": [], 344 "decorators": [], 345 "loc": { 346 "start": { 347 "line": 1, 348 "column": 1 349 }, 350 "end": { 351 "line": 1, 352 "column": 1 353 } 354 } 355 }, 356 { 357 "type": "MethodDefinition", 358 "key": { 359 "type": "Identifier", 360 "name": "main", 361 "decorators": [], 362 "loc": { 363 "start": { 364 "line": 22, 365 "column": 10 366 }, 367 "end": { 368 "line": 22, 369 "column": 14 370 } 371 } 372 }, 373 "kind": "method", 374 "accessibility": "public", 375 "static": true, 376 "optional": false, 377 "computed": false, 378 "value": { 379 "type": "FunctionExpression", 380 "function": { 381 "type": "ScriptFunction", 382 "id": { 383 "type": "Identifier", 384 "name": "main", 385 "decorators": [], 386 "loc": { 387 "start": { 388 "line": 22, 389 "column": 10 390 }, 391 "end": { 392 "line": 22, 393 "column": 14 394 } 395 } 396 }, 397 "generator": false, 398 "async": false, 399 "expression": false, 400 "params": [], 401 "returnType": { 402 "type": "ETSPrimitiveType", 403 "loc": { 404 "start": { 405 "line": 22, 406 "column": 18 407 }, 408 "end": { 409 "line": 22, 410 "column": 22 411 } 412 } 413 }, 414 "body": { 415 "type": "BlockStatement", 416 "statements": [ 417 { 418 "type": "VariableDeclaration", 419 "declarations": [ 420 { 421 "type": "VariableDeclarator", 422 "id": { 423 "type": "Identifier", 424 "name": "from", 425 "typeAnnotation": { 426 "type": "ETSPrimitiveType", 427 "loc": { 428 "start": { 429 "line": 23, 430 "column": 15 431 }, 432 "end": { 433 "line": 23, 434 "column": 18 435 } 436 } 437 }, 438 "decorators": [], 439 "loc": { 440 "start": { 441 "line": 23, 442 "column": 9 443 }, 444 "end": { 445 "line": 23, 446 "column": 13 447 } 448 } 449 }, 450 "init": { 451 "type": "NumberLiteral", 452 "value": 84, 453 "loc": { 454 "start": { 455 "line": 23, 456 "column": 21 457 }, 458 "end": { 459 "line": 23, 460 "column": 23 461 } 462 } 463 }, 464 "loc": { 465 "start": { 466 "line": 23, 467 "column": 9 468 }, 469 "end": { 470 "line": 23, 471 "column": 23 472 } 473 } 474 } 475 ], 476 "kind": "let", 477 "loc": { 478 "start": { 479 "line": 23, 480 "column": 5 481 }, 482 "end": { 483 "line": 23, 484 "column": 24 485 } 486 } 487 } 488 ], 489 "loc": { 490 "start": { 491 "line": 22, 492 "column": 23 493 }, 494 "end": { 495 "line": 24, 496 "column": 2 497 } 498 } 499 }, 500 "loc": { 501 "start": { 502 "line": 22, 503 "column": 14 504 }, 505 "end": { 506 "line": 24, 507 "column": 2 508 } 509 } 510 }, 511 "loc": { 512 "start": { 513 "line": 22, 514 "column": 14 515 }, 516 "end": { 517 "line": 24, 518 "column": 2 519 } 520 } 521 }, 522 "overloads": [], 523 "decorators": [], 524 "loc": { 525 "start": { 526 "line": 22, 527 "column": 1 528 }, 529 "end": { 530 "line": 24, 531 "column": 2 532 } 533 } 534 } 535 ], 536 "loc": { 537 "start": { 538 "line": 1, 539 "column": 1 540 }, 541 "end": { 542 "line": 1, 543 "column": 1 544 } 545 } 546 }, 547 "loc": { 548 "start": { 549 "line": 1, 550 "column": 1 551 }, 552 "end": { 553 "line": 1, 554 "column": 1 555 } 556 } 557 } 558 ], 559 "loc": { 560 "start": { 561 "line": 1, 562 "column": 1 563 }, 564 "end": { 565 "line": 25, 566 "column": 1 567 } 568 } 569} 570