swc/crates/swc_ecma_parser/tests/tsc/subtypingWithConstructSignatures4.json
2022-02-04 20:17:42 +09:00

10564 lines
326 KiB
JSON

{
"type": "Script",
"span": {
"start": 102,
"end": 3447,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 108,
"end": 112,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 102,
"end": 129,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 115,
"end": 127,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 115,
"end": 118,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 118,
"end": 126,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 120,
"end": 126,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 136,
"end": 143,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 130,
"end": 173,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 159,
"end": 171,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 159,
"end": 162,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 162,
"end": 170,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 164,
"end": 170,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 152,
"end": 156,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 180,
"end": 188,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 174,
"end": 221,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 207,
"end": 219,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 207,
"end": 210,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 210,
"end": 218,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 212,
"end": 218,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 197,
"end": 204,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 228,
"end": 240,
"ctxt": 0
},
"value": "OtherDerived",
"optional": false
},
"declare": false,
"span": {
"start": 222,
"end": 271,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 256,
"end": 269,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 256,
"end": 260,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 260,
"end": 268,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 262,
"end": 268,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 249,
"end": 253,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 290,
"end": 294,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 295,
"end": 318,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 295,
"end": 318,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 296,
"end": 318,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 298,
"end": 318,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 306,
"end": 310,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 307,
"end": 310,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 309,
"end": 310,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 309,
"end": 310,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 302,
"end": 305,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 303,
"end": 304,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 303,
"end": 304,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 312,
"end": 318,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 315,
"end": 318,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 315,
"end": 316,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 315,
"end": 316,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 273,
"end": 320,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 338,
"end": 342,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 343,
"end": 349,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 343,
"end": 349,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 344,
"end": 349,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 346,
"end": 349,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 321,
"end": 356,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 350,
"end": 355,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 352,
"end": 355,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 375,
"end": 379,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 380,
"end": 409,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 380,
"end": 409,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 382,
"end": 409,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 384,
"end": 409,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 392,
"end": 396,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 393,
"end": 396,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 395,
"end": 396,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 395,
"end": 396,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 388,
"end": 391,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 389,
"end": 390,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 389,
"end": 390,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 398,
"end": 409,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 401,
"end": 409,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 401,
"end": 407,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 358,
"end": 411,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 429,
"end": 433,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 434,
"end": 440,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 434,
"end": 440,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 435,
"end": 440,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 437,
"end": 440,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 412,
"end": 447,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 441,
"end": 446,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 443,
"end": 446,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 466,
"end": 470,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 471,
"end": 496,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 471,
"end": 496,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 473,
"end": 496,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 475,
"end": 496,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 483,
"end": 487,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 484,
"end": 487,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 486,
"end": 487,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 486,
"end": 487,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 479,
"end": 482,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 480,
"end": 481,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 480,
"end": 481,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 489,
"end": 496,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 492,
"end": 496,
"ctxt": 0
},
"kind": "void"
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 449,
"end": 498,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 516,
"end": 520,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 521,
"end": 527,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 521,
"end": 527,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 522,
"end": 527,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 524,
"end": 527,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 499,
"end": 534,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 528,
"end": 533,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 530,
"end": 533,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 553,
"end": 557,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 558,
"end": 594,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 558,
"end": 594,
"ctxt": 0
},
"value": "a4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 560,
"end": 594,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 562,
"end": 594,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 573,
"end": 577,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 574,
"end": 577,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 576,
"end": 577,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 576,
"end": 577,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 579,
"end": 583,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 580,
"end": 583,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 582,
"end": 583,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 582,
"end": 583,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 566,
"end": 572,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 570,
"end": 571,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 570,
"end": 571,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 585,
"end": 594,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 588,
"end": 594,
"ctxt": 0
},
"kind": "string"
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 536,
"end": 596,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 614,
"end": 618,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 619,
"end": 625,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 619,
"end": 625,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 620,
"end": 625,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 622,
"end": 625,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 597,
"end": 632,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 626,
"end": 631,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 628,
"end": 631,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 651,
"end": 655,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 656,
"end": 697,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 656,
"end": 697,
"ctxt": 0
},
"value": "a5",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 658,
"end": 697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 660,
"end": 697,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 671,
"end": 691,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 672,
"end": 691,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 674,
"end": 691,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 679,
"end": 685,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 682,
"end": 685,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 684,
"end": 685,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 684,
"end": 685,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 687,
"end": 691,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 690,
"end": 691,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 690,
"end": 691,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 664,
"end": 670,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 665,
"end": 666,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 665,
"end": 666,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 668,
"end": 669,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 668,
"end": 669,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 693,
"end": 697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 696,
"end": 697,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 696,
"end": 697,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 634,
"end": 699,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 717,
"end": 721,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 722,
"end": 728,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 722,
"end": 728,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 723,
"end": 728,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 725,
"end": 728,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 700,
"end": 735,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 729,
"end": 734,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 731,
"end": 734,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 754,
"end": 758,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 759,
"end": 816,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 759,
"end": 816,
"ctxt": 0
},
"value": "a6",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 761,
"end": 816,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 763,
"end": 816,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 784,
"end": 810,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 785,
"end": 810,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 787,
"end": 810,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 792,
"end": 798,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 795,
"end": 798,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 797,
"end": 798,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 797,
"end": 798,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 800,
"end": 810,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 803,
"end": 810,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 803,
"end": 810,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 767,
"end": 783,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 768,
"end": 782,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 768,
"end": 769,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 778,
"end": 782,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 778,
"end": 782,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 812,
"end": 816,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 815,
"end": 816,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 815,
"end": 816,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 737,
"end": 818,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 836,
"end": 840,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 841,
"end": 847,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 841,
"end": 847,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 842,
"end": 847,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 844,
"end": 847,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 819,
"end": 854,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 848,
"end": 853,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 850,
"end": 853,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 873,
"end": 878,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 879,
"end": 937,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 879,
"end": 937,
"ctxt": 0
},
"value": "a11",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 882,
"end": 937,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 884,
"end": 937,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 892,
"end": 905,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 893,
"end": 905,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 895,
"end": 905,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 897,
"end": 903,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 897,
"end": 900,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 900,
"end": 903,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 902,
"end": 903,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 902,
"end": 903,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 907,
"end": 928,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 908,
"end": 928,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 910,
"end": 928,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 912,
"end": 919,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 912,
"end": 915,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 915,
"end": 918,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 917,
"end": 918,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 917,
"end": 918,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 920,
"end": 926,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 920,
"end": 923,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 923,
"end": 926,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 925,
"end": 926,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 925,
"end": 926,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 888,
"end": 891,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 889,
"end": 890,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 889,
"end": 890,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 930,
"end": 937,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 933,
"end": 937,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 933,
"end": 937,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 856,
"end": 939,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 957,
"end": 962,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 963,
"end": 969,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 963,
"end": 969,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 964,
"end": 969,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 966,
"end": 969,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 940,
"end": 976,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 970,
"end": 975,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 972,
"end": 975,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 995,
"end": 1000,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1001,
"end": 1039,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1001,
"end": 1039,
"ctxt": 0
},
"value": "a15",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1004,
"end": 1039,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1006,
"end": 1039,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1014,
"end": 1031,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1015,
"end": 1031,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1017,
"end": 1031,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1019,
"end": 1024,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1019,
"end": 1020,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1020,
"end": 1023,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1022,
"end": 1023,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1022,
"end": 1023,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1025,
"end": 1029,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1025,
"end": 1026,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1026,
"end": 1029,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1028,
"end": 1029,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1028,
"end": 1029,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1010,
"end": 1013,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1011,
"end": 1012,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1011,
"end": 1012,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1033,
"end": 1039,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1036,
"end": 1039,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1036,
"end": 1037,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1036,
"end": 1037,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 978,
"end": 1041,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1059,
"end": 1064,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1065,
"end": 1071,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1065,
"end": 1071,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1066,
"end": 1071,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1068,
"end": 1071,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1042,
"end": 1078,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1072,
"end": 1077,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1074,
"end": 1077,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1097,
"end": 1102,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1103,
"end": 1154,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1103,
"end": 1154,
"ctxt": 0
},
"value": "a16",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1106,
"end": 1154,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1108,
"end": 1154,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1129,
"end": 1146,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1130,
"end": 1146,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1132,
"end": 1146,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1134,
"end": 1139,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1134,
"end": 1135,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1135,
"end": 1138,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1137,
"end": 1138,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1137,
"end": 1138,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1140,
"end": 1144,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1140,
"end": 1141,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1141,
"end": 1144,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1143,
"end": 1144,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1143,
"end": 1144,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1112,
"end": 1128,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1113,
"end": 1127,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1113,
"end": 1114,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1123,
"end": 1127,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1123,
"end": 1127,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1148,
"end": 1154,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1151,
"end": 1154,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1151,
"end": 1152,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1151,
"end": 1152,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 1080,
"end": 1156,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1174,
"end": 1179,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1180,
"end": 1186,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1180,
"end": 1186,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1181,
"end": 1186,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1183,
"end": 1186,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1157,
"end": 1193,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1187,
"end": 1192,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1189,
"end": 1192,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1212,
"end": 1217,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1218,
"end": 1339,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1218,
"end": 1339,
"ctxt": 0
},
"value": "a17",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1221,
"end": 1339,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1223,
"end": 1339,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1229,
"end": 1278,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1253,
"end": 1271,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1254,
"end": 1271,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1256,
"end": 1271,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1261,
"end": 1265,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1262,
"end": 1265,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1264,
"end": 1265,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1264,
"end": 1265,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1267,
"end": 1271,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1270,
"end": 1271,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1270,
"end": 1271,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1272,
"end": 1277,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1274,
"end": 1277,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1274,
"end": 1275,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1274,
"end": 1275,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1233,
"end": 1252,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1234,
"end": 1251,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1234,
"end": 1235,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1244,
"end": 1251,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1244,
"end": 1251,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1283,
"end": 1329,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1304,
"end": 1322,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1305,
"end": 1322,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1307,
"end": 1322,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1312,
"end": 1316,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1313,
"end": 1316,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1315,
"end": 1316,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1315,
"end": 1316,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1318,
"end": 1322,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1321,
"end": 1322,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1321,
"end": 1322,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1323,
"end": 1328,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1325,
"end": 1328,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1325,
"end": 1326,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1325,
"end": 1326,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1287,
"end": 1303,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1288,
"end": 1302,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1288,
"end": 1289,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1298,
"end": 1302,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1298,
"end": 1302,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1195,
"end": 1341,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1359,
"end": 1364,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1365,
"end": 1371,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1365,
"end": 1371,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1366,
"end": 1371,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1368,
"end": 1371,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1342,
"end": 1378,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1372,
"end": 1377,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1374,
"end": 1377,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1397,
"end": 1402,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1403,
"end": 1632,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1403,
"end": 1632,
"ctxt": 0
},
"value": "a18",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1406,
"end": 1632,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1408,
"end": 1632,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1414,
"end": 1519,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1419,
"end": 1510,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1420,
"end": 1510,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1422,
"end": 1510,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1432,
"end": 1465,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1456,
"end": 1460,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1457,
"end": 1460,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1459,
"end": 1460,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1459,
"end": 1460,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1461,
"end": 1464,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1463,
"end": 1464,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1463,
"end": 1464,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1436,
"end": 1455,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1437,
"end": 1454,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1437,
"end": 1438,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1447,
"end": 1454,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1447,
"end": 1454,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1474,
"end": 1504,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1495,
"end": 1499,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1496,
"end": 1499,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1498,
"end": 1499,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1498,
"end": 1499,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1500,
"end": 1503,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1502,
"end": 1503,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1502,
"end": 1503,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1478,
"end": 1494,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1479,
"end": 1493,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1479,
"end": 1480,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1489,
"end": 1493,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1489,
"end": 1493,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1511,
"end": 1518,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1513,
"end": 1518,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1513,
"end": 1516,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1524,
"end": 1630,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1529,
"end": 1621,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1530,
"end": 1621,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1532,
"end": 1621,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1542,
"end": 1576,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1567,
"end": 1571,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1568,
"end": 1571,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1570,
"end": 1571,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1570,
"end": 1571,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1572,
"end": 1575,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1574,
"end": 1575,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1574,
"end": 1575,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1546,
"end": 1566,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1547,
"end": 1565,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1547,
"end": 1548,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1557,
"end": 1565,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1557,
"end": 1565,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1585,
"end": 1615,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1606,
"end": 1610,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1607,
"end": 1610,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1609,
"end": 1610,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1609,
"end": 1610,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1611,
"end": 1614,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1613,
"end": 1614,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1613,
"end": 1614,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1589,
"end": 1605,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1590,
"end": 1604,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1590,
"end": 1591,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1600,
"end": 1604,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1600,
"end": 1604,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1622,
"end": 1629,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1624,
"end": 1629,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1624,
"end": 1627,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1380,
"end": 1634,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1652,
"end": 1657,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1658,
"end": 1664,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1658,
"end": 1664,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1659,
"end": 1664,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1661,
"end": 1664,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1635,
"end": 1671,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1665,
"end": 1670,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1667,
"end": 1670,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1673,
"end": 1705,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1677,
"end": 1704,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1677,
"end": 1682,
"ctxt": 0
},
"value": "r1arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1682,
"end": 1704,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1684,
"end": 1704,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1692,
"end": 1696,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1693,
"end": 1696,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1695,
"end": 1696,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1695,
"end": 1696,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1688,
"end": 1691,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1689,
"end": 1690,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1689,
"end": 1690,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1698,
"end": 1704,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1701,
"end": 1704,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1701,
"end": 1702,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1701,
"end": 1702,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1706,
"end": 1739,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1710,
"end": 1738,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1710,
"end": 1716,
"ctxt": 0
},
"value": "r1arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1716,
"end": 1738,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1718,
"end": 1738,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1726,
"end": 1730,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1727,
"end": 1730,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1729,
"end": 1730,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1729,
"end": 1730,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1722,
"end": 1725,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1723,
"end": 1724,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1723,
"end": 1724,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1732,
"end": 1738,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1735,
"end": 1738,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1735,
"end": 1736,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1735,
"end": 1736,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1740,
"end": 1761,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1744,
"end": 1760,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1744,
"end": 1746,
"ctxt": 0
},
"value": "r1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1749,
"end": 1760,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1749,
"end": 1753,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1754,
"end": 1759,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1762,
"end": 1788,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1766,
"end": 1787,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1766,
"end": 1769,
"ctxt": 0
},
"value": "r1a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1772,
"end": 1787,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1773,
"end": 1778,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1780,
"end": 1786,
"ctxt": 0
},
"value": "r1arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1789,
"end": 1815,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1793,
"end": 1814,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1793,
"end": 1796,
"ctxt": 0
},
"value": "r1b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1799,
"end": 1814,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1800,
"end": 1806,
"ctxt": 0
},
"value": "r1arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1808,
"end": 1813,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1817,
"end": 1854,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1821,
"end": 1853,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1821,
"end": 1826,
"ctxt": 0
},
"value": "r2arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1826,
"end": 1853,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1828,
"end": 1853,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1836,
"end": 1840,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1837,
"end": 1840,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1839,
"end": 1840,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1839,
"end": 1840,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1832,
"end": 1835,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1833,
"end": 1834,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1833,
"end": 1834,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1842,
"end": 1853,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1845,
"end": 1853,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1845,
"end": 1851,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1855,
"end": 1893,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1859,
"end": 1892,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1859,
"end": 1865,
"ctxt": 0
},
"value": "r2arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1865,
"end": 1892,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1867,
"end": 1892,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1875,
"end": 1879,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1876,
"end": 1879,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1878,
"end": 1879,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1878,
"end": 1879,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1871,
"end": 1874,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1872,
"end": 1873,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1872,
"end": 1873,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1881,
"end": 1892,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1884,
"end": 1892,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1884,
"end": 1890,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1894,
"end": 1915,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1898,
"end": 1914,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1898,
"end": 1900,
"ctxt": 0
},
"value": "r2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1903,
"end": 1914,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1903,
"end": 1907,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1908,
"end": 1913,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1916,
"end": 1942,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1920,
"end": 1941,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1920,
"end": 1923,
"ctxt": 0
},
"value": "r2a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1926,
"end": 1941,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1927,
"end": 1932,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1934,
"end": 1940,
"ctxt": 0
},
"value": "r2arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1943,
"end": 1969,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1947,
"end": 1968,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1947,
"end": 1950,
"ctxt": 0
},
"value": "r2b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1953,
"end": 1968,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1954,
"end": 1960,
"ctxt": 0
},
"value": "r2arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1962,
"end": 1967,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1971,
"end": 2001,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1975,
"end": 2000,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1975,
"end": 1980,
"ctxt": 0
},
"value": "r3arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1980,
"end": 2000,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1982,
"end": 2000,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1990,
"end": 1994,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1991,
"end": 1994,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1993,
"end": 1994,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1993,
"end": 1994,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1986,
"end": 1989,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1987,
"end": 1988,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1987,
"end": 1988,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1996,
"end": 2000,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1999,
"end": 2000,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1999,
"end": 2000,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2002,
"end": 2036,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2006,
"end": 2035,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2006,
"end": 2012,
"ctxt": 0
},
"value": "r3arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2012,
"end": 2035,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2014,
"end": 2035,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2022,
"end": 2026,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2023,
"end": 2026,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2025,
"end": 2026,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2025,
"end": 2026,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2018,
"end": 2021,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2019,
"end": 2020,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2019,
"end": 2020,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2028,
"end": 2035,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2031,
"end": 2035,
"ctxt": 0
},
"kind": "void"
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2037,
"end": 2058,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2041,
"end": 2057,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2041,
"end": 2043,
"ctxt": 0
},
"value": "r3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2046,
"end": 2057,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2046,
"end": 2050,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2051,
"end": 2056,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2059,
"end": 2085,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2063,
"end": 2084,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2063,
"end": 2066,
"ctxt": 0
},
"value": "r3a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2069,
"end": 2084,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2070,
"end": 2075,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2077,
"end": 2083,
"ctxt": 0
},
"value": "r3arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2086,
"end": 2112,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2090,
"end": 2111,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2090,
"end": 2093,
"ctxt": 0
},
"value": "r3b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2096,
"end": 2111,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2097,
"end": 2103,
"ctxt": 0
},
"value": "r3arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2105,
"end": 2110,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2114,
"end": 2158,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2118,
"end": 2157,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2118,
"end": 2123,
"ctxt": 0
},
"value": "r4arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2123,
"end": 2157,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2125,
"end": 2157,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2136,
"end": 2140,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2137,
"end": 2140,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2139,
"end": 2140,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2139,
"end": 2140,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2142,
"end": 2146,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2143,
"end": 2146,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2145,
"end": 2146,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2145,
"end": 2146,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2129,
"end": 2135,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2130,
"end": 2131,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2130,
"end": 2131,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2133,
"end": 2134,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2133,
"end": 2134,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2148,
"end": 2157,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2151,
"end": 2157,
"ctxt": 0
},
"kind": "string"
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2159,
"end": 2204,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2163,
"end": 2203,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2163,
"end": 2169,
"ctxt": 0
},
"value": "r4arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2169,
"end": 2203,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2171,
"end": 2203,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2182,
"end": 2186,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2183,
"end": 2186,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2185,
"end": 2186,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2185,
"end": 2186,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2188,
"end": 2192,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2189,
"end": 2192,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2191,
"end": 2192,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2191,
"end": 2192,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2175,
"end": 2181,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2176,
"end": 2177,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2176,
"end": 2177,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2179,
"end": 2180,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2179,
"end": 2180,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2194,
"end": 2203,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2197,
"end": 2203,
"ctxt": 0
},
"kind": "string"
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2205,
"end": 2226,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2209,
"end": 2225,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2209,
"end": 2211,
"ctxt": 0
},
"value": "r4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2214,
"end": 2225,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2214,
"end": 2218,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2219,
"end": 2224,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2227,
"end": 2253,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2231,
"end": 2252,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2231,
"end": 2234,
"ctxt": 0
},
"value": "r4a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2237,
"end": 2252,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2238,
"end": 2243,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2245,
"end": 2251,
"ctxt": 0
},
"value": "r4arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2254,
"end": 2280,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2258,
"end": 2279,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2258,
"end": 2261,
"ctxt": 0
},
"value": "r4b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2264,
"end": 2279,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2265,
"end": 2271,
"ctxt": 0
},
"value": "r4arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2273,
"end": 2278,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2282,
"end": 2331,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2286,
"end": 2330,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2286,
"end": 2291,
"ctxt": 0
},
"value": "r5arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2291,
"end": 2330,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2293,
"end": 2330,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2304,
"end": 2324,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2305,
"end": 2324,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2307,
"end": 2324,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2312,
"end": 2318,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2315,
"end": 2318,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2317,
"end": 2318,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2317,
"end": 2318,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2320,
"end": 2324,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2323,
"end": 2324,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2323,
"end": 2324,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2297,
"end": 2303,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2298,
"end": 2299,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2298,
"end": 2299,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2301,
"end": 2302,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2301,
"end": 2302,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2326,
"end": 2330,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2329,
"end": 2330,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2329,
"end": 2330,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2332,
"end": 2382,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2336,
"end": 2381,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2336,
"end": 2342,
"ctxt": 0
},
"value": "r5arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2342,
"end": 2381,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2344,
"end": 2381,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2355,
"end": 2375,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2356,
"end": 2375,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2358,
"end": 2375,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2363,
"end": 2369,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2366,
"end": 2369,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2368,
"end": 2369,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2368,
"end": 2369,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2371,
"end": 2375,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2374,
"end": 2375,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2374,
"end": 2375,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2348,
"end": 2354,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2349,
"end": 2350,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2349,
"end": 2350,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2352,
"end": 2353,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2352,
"end": 2353,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2377,
"end": 2381,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2380,
"end": 2381,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2380,
"end": 2381,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2383,
"end": 2404,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2387,
"end": 2403,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2387,
"end": 2389,
"ctxt": 0
},
"value": "r5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2392,
"end": 2403,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2392,
"end": 2396,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2397,
"end": 2402,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2405,
"end": 2431,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2409,
"end": 2430,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2409,
"end": 2412,
"ctxt": 0
},
"value": "r5a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2415,
"end": 2430,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2416,
"end": 2421,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2423,
"end": 2429,
"ctxt": 0
},
"value": "r5arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2432,
"end": 2458,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2436,
"end": 2457,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2436,
"end": 2439,
"ctxt": 0
},
"value": "r5b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2442,
"end": 2457,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2443,
"end": 2449,
"ctxt": 0
},
"value": "r5arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2451,
"end": 2456,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2460,
"end": 2538,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2464,
"end": 2537,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2464,
"end": 2469,
"ctxt": 0
},
"value": "r6arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2469,
"end": 2537,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2471,
"end": 2537,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2511,
"end": 2531,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2512,
"end": 2531,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2514,
"end": 2531,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2519,
"end": 2525,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2522,
"end": 2525,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2524,
"end": 2525,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2524,
"end": 2525,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2527,
"end": 2531,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2530,
"end": 2531,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2530,
"end": 2531,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2475,
"end": 2510,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2476,
"end": 2490,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2476,
"end": 2477,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2486,
"end": 2490,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2486,
"end": 2490,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2492,
"end": 2509,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2492,
"end": 2493,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2502,
"end": 2509,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2502,
"end": 2509,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2533,
"end": 2537,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2536,
"end": 2537,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2536,
"end": 2537,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2539,
"end": 2605,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2543,
"end": 2604,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2543,
"end": 2549,
"ctxt": 0
},
"value": "r6arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2549,
"end": 2604,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2551,
"end": 2604,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2572,
"end": 2598,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2573,
"end": 2598,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2575,
"end": 2598,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2580,
"end": 2586,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2583,
"end": 2586,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2585,
"end": 2586,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2585,
"end": 2586,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2588,
"end": 2598,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2591,
"end": 2598,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2591,
"end": 2598,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2555,
"end": 2571,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2556,
"end": 2570,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2556,
"end": 2557,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2566,
"end": 2570,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2566,
"end": 2570,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2600,
"end": 2604,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2603,
"end": 2604,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2603,
"end": 2604,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2606,
"end": 2627,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2610,
"end": 2626,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2610,
"end": 2612,
"ctxt": 0
},
"value": "r6",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2615,
"end": 2626,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2615,
"end": 2619,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2620,
"end": 2625,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2628,
"end": 2654,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2632,
"end": 2653,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2632,
"end": 2635,
"ctxt": 0
},
"value": "r6a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2638,
"end": 2653,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2639,
"end": 2644,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2646,
"end": 2652,
"ctxt": 0
},
"value": "r6arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2655,
"end": 2681,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2659,
"end": 2680,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2659,
"end": 2662,
"ctxt": 0
},
"value": "r6b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2665,
"end": 2680,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2666,
"end": 2672,
"ctxt": 0
},
"value": "r6arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2674,
"end": 2679,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2683,
"end": 2752,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2687,
"end": 2751,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2687,
"end": 2693,
"ctxt": 0
},
"value": "r11arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2693,
"end": 2751,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2695,
"end": 2751,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2706,
"end": 2719,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2707,
"end": 2719,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2709,
"end": 2719,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2711,
"end": 2717,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2711,
"end": 2714,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2714,
"end": 2717,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2716,
"end": 2717,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2716,
"end": 2717,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 2721,
"end": 2742,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2722,
"end": 2742,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2724,
"end": 2742,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2726,
"end": 2733,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2726,
"end": 2729,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2729,
"end": 2732,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2731,
"end": 2732,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2731,
"end": 2732,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2734,
"end": 2740,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2734,
"end": 2737,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2737,
"end": 2740,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2739,
"end": 2740,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2739,
"end": 2740,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2699,
"end": 2705,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2700,
"end": 2701,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2700,
"end": 2701,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2703,
"end": 2704,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2703,
"end": 2704,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2744,
"end": 2751,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2747,
"end": 2751,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2747,
"end": 2751,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2753,
"end": 2820,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2757,
"end": 2819,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2757,
"end": 2764,
"ctxt": 0
},
"value": "r11arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2764,
"end": 2819,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2766,
"end": 2819,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2774,
"end": 2787,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2775,
"end": 2787,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2777,
"end": 2787,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2779,
"end": 2785,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2779,
"end": 2782,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2782,
"end": 2785,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2784,
"end": 2785,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2784,
"end": 2785,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 2789,
"end": 2810,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2790,
"end": 2810,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2792,
"end": 2810,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2794,
"end": 2801,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2794,
"end": 2797,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2797,
"end": 2800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2799,
"end": 2800,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2799,
"end": 2800,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2802,
"end": 2808,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2802,
"end": 2805,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2805,
"end": 2808,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2807,
"end": 2808,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2807,
"end": 2808,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2770,
"end": 2773,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2771,
"end": 2772,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2771,
"end": 2772,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2812,
"end": 2819,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2815,
"end": 2819,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2815,
"end": 2819,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2821,
"end": 2845,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2825,
"end": 2844,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2825,
"end": 2828,
"ctxt": 0
},
"value": "r11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2831,
"end": 2844,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2831,
"end": 2836,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2837,
"end": 2843,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2846,
"end": 2875,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2850,
"end": 2874,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2850,
"end": 2854,
"ctxt": 0
},
"value": "r11a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2857,
"end": 2874,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2858,
"end": 2864,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2866,
"end": 2873,
"ctxt": 0
},
"value": "r11arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2876,
"end": 2905,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2880,
"end": 2904,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2880,
"end": 2884,
"ctxt": 0
},
"value": "r11b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2887,
"end": 2904,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2888,
"end": 2895,
"ctxt": 0
},
"value": "r11arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2897,
"end": 2903,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2907,
"end": 2957,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2911,
"end": 2956,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2911,
"end": 2917,
"ctxt": 0
},
"value": "r15arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2917,
"end": 2956,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2919,
"end": 2956,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2930,
"end": 2948,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2931,
"end": 2948,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2933,
"end": 2948,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2935,
"end": 2940,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2935,
"end": 2936,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2936,
"end": 2939,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2938,
"end": 2939,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2938,
"end": 2939,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2941,
"end": 2946,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2941,
"end": 2942,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2942,
"end": 2945,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2944,
"end": 2945,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2944,
"end": 2945,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2923,
"end": 2929,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2924,
"end": 2925,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2924,
"end": 2925,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2927,
"end": 2928,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2927,
"end": 2928,
"ctxt": 0
},
"value": "V",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2950,
"end": 2956,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2953,
"end": 2956,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2953,
"end": 2954,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2953,
"end": 2954,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2958,
"end": 3005,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2962,
"end": 3004,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2962,
"end": 2969,
"ctxt": 0
},
"value": "r15arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2969,
"end": 3004,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2971,
"end": 3004,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2979,
"end": 2996,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2980,
"end": 2996,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2982,
"end": 2996,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2984,
"end": 2989,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2984,
"end": 2985,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2985,
"end": 2988,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2987,
"end": 2988,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2987,
"end": 2988,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2990,
"end": 2994,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2990,
"end": 2991,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2991,
"end": 2994,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2993,
"end": 2994,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2993,
"end": 2994,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2975,
"end": 2978,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2976,
"end": 2977,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2976,
"end": 2977,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2998,
"end": 3004,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3001,
"end": 3004,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3001,
"end": 3002,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3001,
"end": 3002,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3006,
"end": 3030,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3010,
"end": 3029,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3010,
"end": 3013,
"ctxt": 0
},
"value": "r15",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3016,
"end": 3029,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3016,
"end": 3021,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3022,
"end": 3028,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3031,
"end": 3060,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3035,
"end": 3059,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3035,
"end": 3039,
"ctxt": 0
},
"value": "r15a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3042,
"end": 3059,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3043,
"end": 3049,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3051,
"end": 3058,
"ctxt": 0
},
"value": "r15arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3061,
"end": 3090,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3065,
"end": 3089,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3065,
"end": 3069,
"ctxt": 0
},
"value": "r15b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3072,
"end": 3089,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3073,
"end": 3080,
"ctxt": 0
},
"value": "r15arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3082,
"end": 3088,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3092,
"end": 3151,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3096,
"end": 3150,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3096,
"end": 3102,
"ctxt": 0
},
"value": "r16arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3102,
"end": 3150,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3104,
"end": 3150,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3125,
"end": 3142,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3126,
"end": 3142,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3128,
"end": 3142,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3130,
"end": 3135,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3130,
"end": 3131,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3131,
"end": 3134,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3133,
"end": 3134,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3133,
"end": 3134,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3136,
"end": 3140,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3136,
"end": 3137,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3137,
"end": 3140,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3139,
"end": 3140,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3139,
"end": 3140,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3108,
"end": 3124,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3109,
"end": 3123,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3109,
"end": 3110,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3119,
"end": 3123,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3119,
"end": 3123,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3144,
"end": 3150,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3147,
"end": 3150,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3147,
"end": 3148,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3147,
"end": 3148,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3152,
"end": 3212,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3156,
"end": 3211,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3156,
"end": 3163,
"ctxt": 0
},
"value": "r16arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3163,
"end": 3211,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3165,
"end": 3211,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3186,
"end": 3203,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3187,
"end": 3203,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3189,
"end": 3203,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3191,
"end": 3196,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3191,
"end": 3192,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3192,
"end": 3195,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3194,
"end": 3195,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3194,
"end": 3195,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3197,
"end": 3201,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3197,
"end": 3198,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3198,
"end": 3201,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3200,
"end": 3201,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3200,
"end": 3201,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3169,
"end": 3185,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3170,
"end": 3184,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3170,
"end": 3171,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3180,
"end": 3184,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3180,
"end": 3184,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3205,
"end": 3211,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3208,
"end": 3211,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3208,
"end": 3209,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3208,
"end": 3209,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3213,
"end": 3237,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3217,
"end": 3236,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3217,
"end": 3220,
"ctxt": 0
},
"value": "r16",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3223,
"end": 3236,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3223,
"end": 3228,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3229,
"end": 3235,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3238,
"end": 3267,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3242,
"end": 3266,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3242,
"end": 3246,
"ctxt": 0
},
"value": "r16a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3249,
"end": 3266,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3250,
"end": 3256,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3258,
"end": 3265,
"ctxt": 0
},
"value": "r16arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3268,
"end": 3297,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3272,
"end": 3296,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3272,
"end": 3276,
"ctxt": 0
},
"value": "r16b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3279,
"end": 3296,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3280,
"end": 3287,
"ctxt": 0
},
"value": "r16arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3289,
"end": 3295,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3299,
"end": 3346,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3303,
"end": 3345,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3303,
"end": 3309,
"ctxt": 0
},
"value": "r17arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3309,
"end": 3345,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3311,
"end": 3345,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3319,
"end": 3337,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3320,
"end": 3337,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3322,
"end": 3337,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3327,
"end": 3331,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3328,
"end": 3331,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3330,
"end": 3331,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3330,
"end": 3331,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3333,
"end": 3337,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3336,
"end": 3337,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3336,
"end": 3337,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3315,
"end": 3318,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3316,
"end": 3317,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3316,
"end": 3317,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3339,
"end": 3345,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3342,
"end": 3345,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3342,
"end": 3343,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3342,
"end": 3343,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3347,
"end": 3371,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3351,
"end": 3370,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3351,
"end": 3354,
"ctxt": 0
},
"value": "r17",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3357,
"end": 3370,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3357,
"end": 3362,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3363,
"end": 3369,
"ctxt": 0
},
"value": "r17arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3373,
"end": 3422,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3377,
"end": 3421,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3377,
"end": 3383,
"ctxt": 0
},
"value": "r18arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3383,
"end": 3421,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3385,
"end": 3421,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3390,
"end": 3411,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3391,
"end": 3411,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3393,
"end": 3411,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3401,
"end": 3405,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3402,
"end": 3405,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3404,
"end": 3405,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3404,
"end": 3405,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3397,
"end": 3400,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3398,
"end": 3399,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3398,
"end": 3399,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3407,
"end": 3411,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3410,
"end": 3411,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3410,
"end": 3411,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3413,
"end": 3421,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3416,
"end": 3421,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3416,
"end": 3419,
"ctxt": 0
},
"kind": "any"
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3423,
"end": 3447,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3427,
"end": 3446,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3427,
"end": 3430,
"ctxt": 0
},
"value": "r18",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3433,
"end": 3446,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3433,
"end": 3438,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3439,
"end": 3445,
"ctxt": 0
},
"value": "r18arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
}
],
"interpreter": null
}