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