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