swc/crates/swc_ecma_parser/tests/tsc/subtypingWithConstructSignatures4.json

10652 lines
329 KiB
JSON

{
"type": "Script",
"span": {
"start": 103,
"end": 3448,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 109,
"end": 113,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 103,
"end": 130,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 116,
"end": 128,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 116,
"end": 119,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 119,
"end": 127,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 121,
"end": 127,
"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": 137,
"end": 144,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 131,
"end": 174,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 160,
"end": 172,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 160,
"end": 163,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 163,
"end": 171,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 165,
"end": 171,
"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": 153,
"end": 157,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 181,
"end": 189,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 175,
"end": 222,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 208,
"end": 220,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 208,
"end": 211,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 211,
"end": 219,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 213,
"end": 219,
"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": 198,
"end": 205,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 229,
"end": 241,
"ctxt": 0
},
"value": "OtherDerived",
"optional": false
},
"declare": false,
"span": {
"start": 223,
"end": 272,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 257,
"end": 270,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 257,
"end": 261,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 261,
"end": 269,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 263,
"end": 269,
"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": 250,
"end": 254,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 291,
"end": 295,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 296,
"end": 319,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 296,
"end": 319,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 297,
"end": 319,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 299,
"end": 319,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 307,
"end": 311,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 308,
"end": 311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 310,
"end": 311,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 310,
"end": 311,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 303,
"end": 306,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 304,
"end": 305,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 304,
"end": 305,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 313,
"end": 319,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 316,
"end": 319,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 316,
"end": 317,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 316,
"end": 317,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 274,
"end": 321,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 339,
"end": 343,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 344,
"end": 350,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 344,
"end": 350,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 345,
"end": 350,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 347,
"end": 350,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 322,
"end": 357,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 351,
"end": 356,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 353,
"end": 356,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 376,
"end": 380,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 381,
"end": 410,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 381,
"end": 410,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 383,
"end": 410,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 385,
"end": 410,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 393,
"end": 397,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 394,
"end": 397,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 396,
"end": 397,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 396,
"end": 397,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 389,
"end": 392,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 390,
"end": 391,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 390,
"end": 391,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 399,
"end": 410,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 402,
"end": 410,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 402,
"end": 408,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 359,
"end": 412,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 430,
"end": 434,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 435,
"end": 441,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 435,
"end": 441,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 436,
"end": 441,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 438,
"end": 441,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 413,
"end": 448,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 442,
"end": 447,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 444,
"end": 447,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 467,
"end": 471,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 472,
"end": 497,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 472,
"end": 497,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 474,
"end": 497,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 476,
"end": 497,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 484,
"end": 488,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 485,
"end": 488,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 487,
"end": 488,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 487,
"end": 488,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 480,
"end": 483,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 481,
"end": 482,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 481,
"end": 482,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 490,
"end": 497,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 493,
"end": 497,
"ctxt": 0
},
"kind": "void"
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 450,
"end": 499,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 517,
"end": 521,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 522,
"end": 528,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 522,
"end": 528,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 523,
"end": 528,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 525,
"end": 528,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 500,
"end": 535,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 529,
"end": 534,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 531,
"end": 534,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 554,
"end": 558,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 559,
"end": 595,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 559,
"end": 595,
"ctxt": 0
},
"value": "a4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 561,
"end": 595,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 563,
"end": 595,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 574,
"end": 578,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 575,
"end": 578,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 577,
"end": 578,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 577,
"end": 578,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 580,
"end": 584,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 581,
"end": 584,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 583,
"end": 584,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 583,
"end": 584,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 567,
"end": 573,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 568,
"end": 569,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 568,
"end": 569,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 571,
"end": 572,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 571,
"end": 572,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 586,
"end": 595,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 589,
"end": 595,
"ctxt": 0
},
"kind": "string"
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 537,
"end": 597,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 615,
"end": 619,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 620,
"end": 626,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 620,
"end": 626,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 621,
"end": 626,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 623,
"end": 626,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 598,
"end": 633,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 627,
"end": 632,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 629,
"end": 632,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 652,
"end": 656,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 657,
"end": 698,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 657,
"end": 698,
"ctxt": 0
},
"value": "a5",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 659,
"end": 698,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 661,
"end": 698,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 672,
"end": 692,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 673,
"end": 692,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 675,
"end": 692,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 680,
"end": 686,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 683,
"end": 686,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 685,
"end": 686,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 685,
"end": 686,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 688,
"end": 692,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 691,
"end": 692,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 691,
"end": 692,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 665,
"end": 671,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 666,
"end": 667,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 666,
"end": 667,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 669,
"end": 670,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 669,
"end": 670,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 694,
"end": 698,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 697,
"end": 698,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 697,
"end": 698,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 635,
"end": 700,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 718,
"end": 722,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 723,
"end": 729,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 723,
"end": 729,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 724,
"end": 729,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 726,
"end": 729,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 701,
"end": 736,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 730,
"end": 735,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 732,
"end": 735,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 755,
"end": 759,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 760,
"end": 817,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 760,
"end": 817,
"ctxt": 0
},
"value": "a6",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 762,
"end": 817,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 764,
"end": 817,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 785,
"end": 811,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 786,
"end": 811,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 788,
"end": 811,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 793,
"end": 799,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 796,
"end": 799,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 798,
"end": 799,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 798,
"end": 799,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 801,
"end": 811,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 804,
"end": 811,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 804,
"end": 811,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 768,
"end": 784,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 769,
"end": 783,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 769,
"end": 770,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 779,
"end": 783,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 779,
"end": 783,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 813,
"end": 817,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 816,
"end": 817,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 816,
"end": 817,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 738,
"end": 819,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 837,
"end": 841,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 842,
"end": 848,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 842,
"end": 848,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 843,
"end": 848,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 845,
"end": 848,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 820,
"end": 855,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 849,
"end": 854,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 851,
"end": 854,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 874,
"end": 879,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 880,
"end": 938,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 880,
"end": 938,
"ctxt": 0
},
"value": "a11",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 883,
"end": 938,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 885,
"end": 938,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 893,
"end": 906,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 894,
"end": 906,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 896,
"end": 906,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 898,
"end": 904,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 898,
"end": 901,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 901,
"end": 904,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 903,
"end": 904,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 903,
"end": 904,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 908,
"end": 929,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 909,
"end": 929,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 911,
"end": 929,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 913,
"end": 920,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 913,
"end": 916,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 916,
"end": 919,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 918,
"end": 919,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 918,
"end": 919,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 921,
"end": 927,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 921,
"end": 924,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 924,
"end": 927,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 926,
"end": 927,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 926,
"end": 927,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 889,
"end": 892,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 890,
"end": 891,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 890,
"end": 891,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 931,
"end": 938,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 934,
"end": 938,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 934,
"end": 938,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 857,
"end": 940,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 958,
"end": 963,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 964,
"end": 970,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 964,
"end": 970,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 965,
"end": 970,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 967,
"end": 970,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 941,
"end": 977,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 971,
"end": 976,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 973,
"end": 976,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 996,
"end": 1001,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1002,
"end": 1040,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1002,
"end": 1040,
"ctxt": 0
},
"value": "a15",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1005,
"end": 1040,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1007,
"end": 1040,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1015,
"end": 1032,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1016,
"end": 1032,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1018,
"end": 1032,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1020,
"end": 1025,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1020,
"end": 1021,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1021,
"end": 1024,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1023,
"end": 1024,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1023,
"end": 1024,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1026,
"end": 1030,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1026,
"end": 1027,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1027,
"end": 1030,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1029,
"end": 1030,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1029,
"end": 1030,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1011,
"end": 1014,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1012,
"end": 1013,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1012,
"end": 1013,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1034,
"end": 1040,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1037,
"end": 1040,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1037,
"end": 1038,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1037,
"end": 1038,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 979,
"end": 1042,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1060,
"end": 1065,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1066,
"end": 1072,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1066,
"end": 1072,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1067,
"end": 1072,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1069,
"end": 1072,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1043,
"end": 1079,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1073,
"end": 1078,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1075,
"end": 1078,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1098,
"end": 1103,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1104,
"end": 1155,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1104,
"end": 1155,
"ctxt": 0
},
"value": "a16",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1107,
"end": 1155,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1109,
"end": 1155,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1130,
"end": 1147,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1131,
"end": 1147,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1133,
"end": 1147,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1135,
"end": 1140,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1135,
"end": 1136,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1136,
"end": 1139,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1138,
"end": 1139,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1138,
"end": 1139,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1141,
"end": 1145,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1141,
"end": 1142,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1142,
"end": 1145,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1144,
"end": 1145,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1144,
"end": 1145,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1113,
"end": 1129,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1114,
"end": 1128,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1114,
"end": 1115,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1124,
"end": 1128,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1124,
"end": 1128,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1149,
"end": 1155,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1152,
"end": 1155,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1152,
"end": 1153,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1152,
"end": 1153,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
}
}
],
"decorators": [],
"span": {
"start": 1081,
"end": 1157,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1175,
"end": 1180,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1181,
"end": 1187,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1181,
"end": 1187,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1182,
"end": 1187,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1184,
"end": 1187,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1158,
"end": 1194,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1188,
"end": 1193,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1190,
"end": 1193,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1213,
"end": 1218,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1219,
"end": 1340,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1219,
"end": 1340,
"ctxt": 0
},
"value": "a17",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1222,
"end": 1340,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1224,
"end": 1340,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1230,
"end": 1279,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1254,
"end": 1272,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1255,
"end": 1272,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1257,
"end": 1272,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1262,
"end": 1266,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1263,
"end": 1266,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1265,
"end": 1266,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1265,
"end": 1266,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1268,
"end": 1272,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1271,
"end": 1272,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1271,
"end": 1272,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1273,
"end": 1278,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1275,
"end": 1278,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1275,
"end": 1276,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1275,
"end": 1276,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1234,
"end": 1253,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1235,
"end": 1252,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1235,
"end": 1236,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1245,
"end": 1252,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1245,
"end": 1252,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1284,
"end": 1330,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1305,
"end": 1323,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1306,
"end": 1323,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1308,
"end": 1323,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1313,
"end": 1317,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1314,
"end": 1317,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1316,
"end": 1317,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1316,
"end": 1317,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1319,
"end": 1323,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1322,
"end": 1323,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1322,
"end": 1323,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1324,
"end": 1329,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1326,
"end": 1329,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1326,
"end": 1327,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1326,
"end": 1327,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1288,
"end": 1304,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1289,
"end": 1303,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1289,
"end": 1290,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1299,
"end": 1303,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1299,
"end": 1303,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1196,
"end": 1342,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1360,
"end": 1365,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1366,
"end": 1372,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1366,
"end": 1372,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1367,
"end": 1372,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1369,
"end": 1372,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1343,
"end": 1379,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1373,
"end": 1378,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1375,
"end": 1378,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1398,
"end": 1403,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1404,
"end": 1633,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1404,
"end": 1633,
"ctxt": 0
},
"value": "a18",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1407,
"end": 1633,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1409,
"end": 1633,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1415,
"end": 1520,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1420,
"end": 1511,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1421,
"end": 1511,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1423,
"end": 1511,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1433,
"end": 1466,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1457,
"end": 1461,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1458,
"end": 1461,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1460,
"end": 1461,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1460,
"end": 1461,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1462,
"end": 1465,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1464,
"end": 1465,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1464,
"end": 1465,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1437,
"end": 1456,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1438,
"end": 1455,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1438,
"end": 1439,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1448,
"end": 1455,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1448,
"end": 1455,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1475,
"end": 1505,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1496,
"end": 1500,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1497,
"end": 1500,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1499,
"end": 1500,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1499,
"end": 1500,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1501,
"end": 1504,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1503,
"end": 1504,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1503,
"end": 1504,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1479,
"end": 1495,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1480,
"end": 1494,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1480,
"end": 1481,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1490,
"end": 1494,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1490,
"end": 1494,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1512,
"end": 1519,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1514,
"end": 1519,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1514,
"end": 1517,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1525,
"end": 1631,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1530,
"end": 1622,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1531,
"end": 1622,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1533,
"end": 1622,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1543,
"end": 1577,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1568,
"end": 1572,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1569,
"end": 1572,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1571,
"end": 1572,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1571,
"end": 1572,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1573,
"end": 1576,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1575,
"end": 1576,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1575,
"end": 1576,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1547,
"end": 1567,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1548,
"end": 1566,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1548,
"end": 1549,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1558,
"end": 1566,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1558,
"end": 1566,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1586,
"end": 1616,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1607,
"end": 1611,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1608,
"end": 1611,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1610,
"end": 1611,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1610,
"end": 1611,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1612,
"end": 1615,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1614,
"end": 1615,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1614,
"end": 1615,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1590,
"end": 1606,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1591,
"end": 1605,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1591,
"end": 1592,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1601,
"end": 1605,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1601,
"end": 1605,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1623,
"end": 1630,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1625,
"end": 1630,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1625,
"end": 1628,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1381,
"end": 1635,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1653,
"end": 1658,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1659,
"end": 1665,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1659,
"end": 1665,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1660,
"end": 1665,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1662,
"end": 1665,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1636,
"end": 1672,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1666,
"end": 1671,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1668,
"end": 1671,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1674,
"end": 1706,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1678,
"end": 1705,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1678,
"end": 1683,
"ctxt": 0
},
"value": "r1arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1683,
"end": 1705,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1685,
"end": 1705,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1693,
"end": 1697,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1694,
"end": 1697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1696,
"end": 1697,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1696,
"end": 1697,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1689,
"end": 1692,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1690,
"end": 1691,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1690,
"end": 1691,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1699,
"end": 1705,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1702,
"end": 1705,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1702,
"end": 1703,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1702,
"end": 1703,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1707,
"end": 1740,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1711,
"end": 1739,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1711,
"end": 1717,
"ctxt": 0
},
"value": "r1arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1717,
"end": 1739,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1719,
"end": 1739,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1727,
"end": 1731,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1728,
"end": 1731,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1730,
"end": 1731,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1730,
"end": 1731,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1723,
"end": 1726,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1724,
"end": 1725,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1724,
"end": 1725,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1733,
"end": 1739,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1736,
"end": 1739,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1736,
"end": 1737,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1736,
"end": 1737,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1741,
"end": 1762,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1745,
"end": 1761,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1745,
"end": 1747,
"ctxt": 0
},
"value": "r1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1750,
"end": 1761,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1750,
"end": 1754,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1755,
"end": 1760,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1763,
"end": 1789,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1767,
"end": 1788,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1767,
"end": 1770,
"ctxt": 0
},
"value": "r1a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1773,
"end": 1788,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1774,
"end": 1779,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1781,
"end": 1787,
"ctxt": 0
},
"value": "r1arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1790,
"end": 1816,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1794,
"end": 1815,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1794,
"end": 1797,
"ctxt": 0
},
"value": "r1b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1800,
"end": 1815,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1801,
"end": 1807,
"ctxt": 0
},
"value": "r1arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1809,
"end": 1814,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1818,
"end": 1855,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1822,
"end": 1854,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1822,
"end": 1827,
"ctxt": 0
},
"value": "r2arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1827,
"end": 1854,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1829,
"end": 1854,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1837,
"end": 1841,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1838,
"end": 1841,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1840,
"end": 1841,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1840,
"end": 1841,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1833,
"end": 1836,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1834,
"end": 1835,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1834,
"end": 1835,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1843,
"end": 1854,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1846,
"end": 1854,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1846,
"end": 1852,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1856,
"end": 1894,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1860,
"end": 1893,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1860,
"end": 1866,
"ctxt": 0
},
"value": "r2arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1866,
"end": 1893,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1868,
"end": 1893,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1876,
"end": 1880,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1877,
"end": 1880,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1879,
"end": 1880,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1879,
"end": 1880,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1872,
"end": 1875,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1873,
"end": 1874,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1873,
"end": 1874,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1882,
"end": 1893,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1885,
"end": 1893,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1885,
"end": 1891,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1895,
"end": 1916,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1899,
"end": 1915,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1899,
"end": 1901,
"ctxt": 0
},
"value": "r2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1904,
"end": 1915,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1904,
"end": 1908,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1909,
"end": 1914,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1917,
"end": 1943,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1921,
"end": 1942,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1921,
"end": 1924,
"ctxt": 0
},
"value": "r2a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1927,
"end": 1942,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1928,
"end": 1933,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1935,
"end": 1941,
"ctxt": 0
},
"value": "r2arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1944,
"end": 1970,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1948,
"end": 1969,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1948,
"end": 1951,
"ctxt": 0
},
"value": "r2b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1954,
"end": 1969,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1955,
"end": 1961,
"ctxt": 0
},
"value": "r2arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1963,
"end": 1968,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1972,
"end": 2002,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1976,
"end": 2001,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1976,
"end": 1981,
"ctxt": 0
},
"value": "r3arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1981,
"end": 2001,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1983,
"end": 2001,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1991,
"end": 1995,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1992,
"end": 1995,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1994,
"end": 1995,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1994,
"end": 1995,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1987,
"end": 1990,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1988,
"end": 1989,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1988,
"end": 1989,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1997,
"end": 2001,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2000,
"end": 2001,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2000,
"end": 2001,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2003,
"end": 2037,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2007,
"end": 2036,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2007,
"end": 2013,
"ctxt": 0
},
"value": "r3arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2013,
"end": 2036,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2015,
"end": 2036,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2023,
"end": 2027,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2024,
"end": 2027,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2026,
"end": 2027,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2026,
"end": 2027,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2019,
"end": 2022,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2020,
"end": 2021,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2020,
"end": 2021,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2029,
"end": 2036,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2032,
"end": 2036,
"ctxt": 0
},
"kind": "void"
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2038,
"end": 2059,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2042,
"end": 2058,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2042,
"end": 2044,
"ctxt": 0
},
"value": "r3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2047,
"end": 2058,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2047,
"end": 2051,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2052,
"end": 2057,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2060,
"end": 2086,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2064,
"end": 2085,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2064,
"end": 2067,
"ctxt": 0
},
"value": "r3a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2070,
"end": 2085,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2071,
"end": 2076,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2078,
"end": 2084,
"ctxt": 0
},
"value": "r3arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2087,
"end": 2113,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2091,
"end": 2112,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2091,
"end": 2094,
"ctxt": 0
},
"value": "r3b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2097,
"end": 2112,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2098,
"end": 2104,
"ctxt": 0
},
"value": "r3arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2106,
"end": 2111,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2115,
"end": 2159,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2119,
"end": 2158,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2119,
"end": 2124,
"ctxt": 0
},
"value": "r4arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2124,
"end": 2158,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2126,
"end": 2158,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2137,
"end": 2141,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2138,
"end": 2141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2140,
"end": 2141,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2140,
"end": 2141,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2143,
"end": 2147,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2144,
"end": 2147,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2146,
"end": 2147,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2146,
"end": 2147,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2130,
"end": 2136,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2131,
"end": 2132,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2131,
"end": 2132,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2134,
"end": 2135,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2134,
"end": 2135,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2149,
"end": 2158,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2152,
"end": 2158,
"ctxt": 0
},
"kind": "string"
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2160,
"end": 2205,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2164,
"end": 2204,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2164,
"end": 2170,
"ctxt": 0
},
"value": "r4arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2170,
"end": 2204,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2172,
"end": 2204,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2183,
"end": 2187,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2184,
"end": 2187,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2186,
"end": 2187,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2186,
"end": 2187,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2189,
"end": 2193,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2190,
"end": 2193,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2192,
"end": 2193,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2192,
"end": 2193,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2176,
"end": 2182,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2177,
"end": 2178,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2177,
"end": 2178,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2180,
"end": 2181,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2180,
"end": 2181,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2195,
"end": 2204,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2198,
"end": 2204,
"ctxt": 0
},
"kind": "string"
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2206,
"end": 2227,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2210,
"end": 2226,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2210,
"end": 2212,
"ctxt": 0
},
"value": "r4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2215,
"end": 2226,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2215,
"end": 2219,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2220,
"end": 2225,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2228,
"end": 2254,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2232,
"end": 2253,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2232,
"end": 2235,
"ctxt": 0
},
"value": "r4a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2238,
"end": 2253,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2239,
"end": 2244,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2246,
"end": 2252,
"ctxt": 0
},
"value": "r4arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2255,
"end": 2281,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2259,
"end": 2280,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2259,
"end": 2262,
"ctxt": 0
},
"value": "r4b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2265,
"end": 2280,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2266,
"end": 2272,
"ctxt": 0
},
"value": "r4arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2274,
"end": 2279,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2283,
"end": 2332,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2287,
"end": 2331,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2287,
"end": 2292,
"ctxt": 0
},
"value": "r5arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2292,
"end": 2331,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2294,
"end": 2331,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2305,
"end": 2325,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2306,
"end": 2325,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2308,
"end": 2325,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2313,
"end": 2319,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2316,
"end": 2319,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2318,
"end": 2319,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2318,
"end": 2319,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2321,
"end": 2325,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2324,
"end": 2325,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2324,
"end": 2325,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2298,
"end": 2304,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2299,
"end": 2300,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2299,
"end": 2300,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2302,
"end": 2303,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2302,
"end": 2303,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2327,
"end": 2331,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2330,
"end": 2331,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2330,
"end": 2331,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2333,
"end": 2383,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2337,
"end": 2382,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2337,
"end": 2343,
"ctxt": 0
},
"value": "r5arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2343,
"end": 2382,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2345,
"end": 2382,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2356,
"end": 2376,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2357,
"end": 2376,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2359,
"end": 2376,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2364,
"end": 2370,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2367,
"end": 2370,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2369,
"end": 2370,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2369,
"end": 2370,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2372,
"end": 2376,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2375,
"end": 2376,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2375,
"end": 2376,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2349,
"end": 2355,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2350,
"end": 2351,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2350,
"end": 2351,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2353,
"end": 2354,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2353,
"end": 2354,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2378,
"end": 2382,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2381,
"end": 2382,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2381,
"end": 2382,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2384,
"end": 2405,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2388,
"end": 2404,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2388,
"end": 2390,
"ctxt": 0
},
"value": "r5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2393,
"end": 2404,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2393,
"end": 2397,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2398,
"end": 2403,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2406,
"end": 2432,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2410,
"end": 2431,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2410,
"end": 2413,
"ctxt": 0
},
"value": "r5a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2416,
"end": 2431,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2417,
"end": 2422,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2424,
"end": 2430,
"ctxt": 0
},
"value": "r5arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2433,
"end": 2459,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2437,
"end": 2458,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2437,
"end": 2440,
"ctxt": 0
},
"value": "r5b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2443,
"end": 2458,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2444,
"end": 2450,
"ctxt": 0
},
"value": "r5arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2452,
"end": 2457,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2461,
"end": 2539,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2465,
"end": 2538,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2465,
"end": 2470,
"ctxt": 0
},
"value": "r6arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2470,
"end": 2538,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2472,
"end": 2538,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2512,
"end": 2532,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2513,
"end": 2532,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2515,
"end": 2532,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2520,
"end": 2526,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2523,
"end": 2526,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2525,
"end": 2526,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2525,
"end": 2526,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2528,
"end": 2532,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2531,
"end": 2532,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2531,
"end": 2532,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2476,
"end": 2511,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2477,
"end": 2491,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2477,
"end": 2478,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2487,
"end": 2491,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2487,
"end": 2491,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2493,
"end": 2510,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2493,
"end": 2494,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2503,
"end": 2510,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2503,
"end": 2510,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2534,
"end": 2538,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2537,
"end": 2538,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2537,
"end": 2538,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2540,
"end": 2606,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2544,
"end": 2605,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2544,
"end": 2550,
"ctxt": 0
},
"value": "r6arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2550,
"end": 2605,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2552,
"end": 2605,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2573,
"end": 2599,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2574,
"end": 2599,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2576,
"end": 2599,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2581,
"end": 2587,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2584,
"end": 2587,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2586,
"end": 2587,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2586,
"end": 2587,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2589,
"end": 2599,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2592,
"end": 2599,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2592,
"end": 2599,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2556,
"end": 2572,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2557,
"end": 2571,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2557,
"end": 2558,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2567,
"end": 2571,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2567,
"end": 2571,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2601,
"end": 2605,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2604,
"end": 2605,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2604,
"end": 2605,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2607,
"end": 2628,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2611,
"end": 2627,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2611,
"end": 2613,
"ctxt": 0
},
"value": "r6",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2616,
"end": 2627,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2616,
"end": 2620,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2621,
"end": 2626,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2629,
"end": 2655,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2633,
"end": 2654,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2633,
"end": 2636,
"ctxt": 0
},
"value": "r6a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2639,
"end": 2654,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2640,
"end": 2645,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2647,
"end": 2653,
"ctxt": 0
},
"value": "r6arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2656,
"end": 2682,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2660,
"end": 2681,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2660,
"end": 2663,
"ctxt": 0
},
"value": "r6b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2666,
"end": 2681,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2667,
"end": 2673,
"ctxt": 0
},
"value": "r6arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2675,
"end": 2680,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2684,
"end": 2753,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2688,
"end": 2752,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2688,
"end": 2694,
"ctxt": 0
},
"value": "r11arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2694,
"end": 2752,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2696,
"end": 2752,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2707,
"end": 2720,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2708,
"end": 2720,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2710,
"end": 2720,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2712,
"end": 2718,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2712,
"end": 2715,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2715,
"end": 2718,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2717,
"end": 2718,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2717,
"end": 2718,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 2722,
"end": 2743,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2723,
"end": 2743,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2725,
"end": 2743,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2727,
"end": 2734,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2727,
"end": 2730,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2730,
"end": 2733,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2732,
"end": 2733,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2732,
"end": 2733,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2735,
"end": 2741,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2735,
"end": 2738,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2738,
"end": 2741,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2740,
"end": 2741,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2740,
"end": 2741,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2700,
"end": 2706,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2701,
"end": 2702,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2701,
"end": 2702,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2704,
"end": 2705,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2704,
"end": 2705,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2745,
"end": 2752,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2748,
"end": 2752,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2748,
"end": 2752,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2754,
"end": 2821,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2758,
"end": 2820,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2758,
"end": 2765,
"ctxt": 0
},
"value": "r11arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2765,
"end": 2820,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2767,
"end": 2820,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2775,
"end": 2788,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2776,
"end": 2788,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2778,
"end": 2788,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2780,
"end": 2786,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2780,
"end": 2783,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2783,
"end": 2786,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2785,
"end": 2786,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2785,
"end": 2786,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 2790,
"end": 2811,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2791,
"end": 2811,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2793,
"end": 2811,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2795,
"end": 2802,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2795,
"end": 2798,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2798,
"end": 2801,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2800,
"end": 2801,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2800,
"end": 2801,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2803,
"end": 2809,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2803,
"end": 2806,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2806,
"end": 2809,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2808,
"end": 2809,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2808,
"end": 2809,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2771,
"end": 2774,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2772,
"end": 2773,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2772,
"end": 2773,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2813,
"end": 2820,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2816,
"end": 2820,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2816,
"end": 2820,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2822,
"end": 2846,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2826,
"end": 2845,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2826,
"end": 2829,
"ctxt": 0
},
"value": "r11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2832,
"end": 2845,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2832,
"end": 2837,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2838,
"end": 2844,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2847,
"end": 2876,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2851,
"end": 2875,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2851,
"end": 2855,
"ctxt": 0
},
"value": "r11a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2858,
"end": 2875,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2859,
"end": 2865,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2867,
"end": 2874,
"ctxt": 0
},
"value": "r11arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2877,
"end": 2906,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2881,
"end": 2905,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2881,
"end": 2885,
"ctxt": 0
},
"value": "r11b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2888,
"end": 2905,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2889,
"end": 2896,
"ctxt": 0
},
"value": "r11arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2898,
"end": 2904,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2908,
"end": 2958,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2912,
"end": 2957,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2912,
"end": 2918,
"ctxt": 0
},
"value": "r15arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2918,
"end": 2957,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2920,
"end": 2957,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2931,
"end": 2949,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2932,
"end": 2949,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2934,
"end": 2949,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2936,
"end": 2941,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2936,
"end": 2937,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2937,
"end": 2940,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2939,
"end": 2940,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2939,
"end": 2940,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2942,
"end": 2947,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2942,
"end": 2943,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2943,
"end": 2946,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2945,
"end": 2946,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2945,
"end": 2946,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2924,
"end": 2930,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2925,
"end": 2926,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2925,
"end": 2926,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2928,
"end": 2929,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2928,
"end": 2929,
"ctxt": 0
},
"value": "V",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2951,
"end": 2957,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2954,
"end": 2957,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2954,
"end": 2955,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2954,
"end": 2955,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2959,
"end": 3006,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2963,
"end": 3005,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2963,
"end": 2970,
"ctxt": 0
},
"value": "r15arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2970,
"end": 3005,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2972,
"end": 3005,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2980,
"end": 2997,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2981,
"end": 2997,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2983,
"end": 2997,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2985,
"end": 2990,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2985,
"end": 2986,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2986,
"end": 2989,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2988,
"end": 2989,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2988,
"end": 2989,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2991,
"end": 2995,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2991,
"end": 2992,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2992,
"end": 2995,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2994,
"end": 2995,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2994,
"end": 2995,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2976,
"end": 2979,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2977,
"end": 2978,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2977,
"end": 2978,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2999,
"end": 3005,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3002,
"end": 3005,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3002,
"end": 3003,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3002,
"end": 3003,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3007,
"end": 3031,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3011,
"end": 3030,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3011,
"end": 3014,
"ctxt": 0
},
"value": "r15",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3017,
"end": 3030,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3017,
"end": 3022,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3023,
"end": 3029,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3032,
"end": 3061,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3036,
"end": 3060,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3036,
"end": 3040,
"ctxt": 0
},
"value": "r15a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3043,
"end": 3060,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3044,
"end": 3050,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3052,
"end": 3059,
"ctxt": 0
},
"value": "r15arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3062,
"end": 3091,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3066,
"end": 3090,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3066,
"end": 3070,
"ctxt": 0
},
"value": "r15b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3073,
"end": 3090,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3074,
"end": 3081,
"ctxt": 0
},
"value": "r15arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3083,
"end": 3089,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3093,
"end": 3152,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3097,
"end": 3151,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3097,
"end": 3103,
"ctxt": 0
},
"value": "r16arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3103,
"end": 3151,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3105,
"end": 3151,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3126,
"end": 3143,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3127,
"end": 3143,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3129,
"end": 3143,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3131,
"end": 3136,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3131,
"end": 3132,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3132,
"end": 3135,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3134,
"end": 3135,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3134,
"end": 3135,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3137,
"end": 3141,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3137,
"end": 3138,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3138,
"end": 3141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3140,
"end": 3141,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3140,
"end": 3141,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3109,
"end": 3125,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3110,
"end": 3124,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3110,
"end": 3111,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3120,
"end": 3124,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3120,
"end": 3124,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3145,
"end": 3151,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3148,
"end": 3151,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3148,
"end": 3149,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3148,
"end": 3149,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3153,
"end": 3213,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3157,
"end": 3212,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3157,
"end": 3164,
"ctxt": 0
},
"value": "r16arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3164,
"end": 3212,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3166,
"end": 3212,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3187,
"end": 3204,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3188,
"end": 3204,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3190,
"end": 3204,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3192,
"end": 3197,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3192,
"end": 3193,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3193,
"end": 3196,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3195,
"end": 3196,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3195,
"end": 3196,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3198,
"end": 3202,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3198,
"end": 3199,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3199,
"end": 3202,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3201,
"end": 3202,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3201,
"end": 3202,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3170,
"end": 3186,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3171,
"end": 3185,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3171,
"end": 3172,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3181,
"end": 3185,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3181,
"end": 3185,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3206,
"end": 3212,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3209,
"end": 3212,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3209,
"end": 3210,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3209,
"end": 3210,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3214,
"end": 3238,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3218,
"end": 3237,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3218,
"end": 3221,
"ctxt": 0
},
"value": "r16",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3224,
"end": 3237,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3224,
"end": 3229,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3230,
"end": 3236,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3239,
"end": 3268,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3243,
"end": 3267,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3243,
"end": 3247,
"ctxt": 0
},
"value": "r16a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3250,
"end": 3267,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3251,
"end": 3257,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3259,
"end": 3266,
"ctxt": 0
},
"value": "r16arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3269,
"end": 3298,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3273,
"end": 3297,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3273,
"end": 3277,
"ctxt": 0
},
"value": "r16b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3280,
"end": 3297,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3281,
"end": 3288,
"ctxt": 0
},
"value": "r16arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3290,
"end": 3296,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3300,
"end": 3347,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3304,
"end": 3346,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3304,
"end": 3310,
"ctxt": 0
},
"value": "r17arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3310,
"end": 3346,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3312,
"end": 3346,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3320,
"end": 3338,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3321,
"end": 3338,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3323,
"end": 3338,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3328,
"end": 3332,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3329,
"end": 3332,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3331,
"end": 3332,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3331,
"end": 3332,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3334,
"end": 3338,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3337,
"end": 3338,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3337,
"end": 3338,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3316,
"end": 3319,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3317,
"end": 3318,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3317,
"end": 3318,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3340,
"end": 3346,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3343,
"end": 3346,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3343,
"end": 3344,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3343,
"end": 3344,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3348,
"end": 3372,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3352,
"end": 3371,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3352,
"end": 3355,
"ctxt": 0
},
"value": "r17",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3358,
"end": 3371,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3358,
"end": 3363,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3364,
"end": 3370,
"ctxt": 0
},
"value": "r17arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3374,
"end": 3423,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3378,
"end": 3422,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3378,
"end": 3384,
"ctxt": 0
},
"value": "r18arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3384,
"end": 3422,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3386,
"end": 3422,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3391,
"end": 3412,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3392,
"end": 3412,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3394,
"end": 3412,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3402,
"end": 3406,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3403,
"end": 3406,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3405,
"end": 3406,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3405,
"end": 3406,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3398,
"end": 3401,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3399,
"end": 3400,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3399,
"end": 3400,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3408,
"end": 3412,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3411,
"end": 3412,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3411,
"end": 3412,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3414,
"end": 3422,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3417,
"end": 3422,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3417,
"end": 3420,
"ctxt": 0
},
"kind": "any"
}
}
},
"isAbstract": false
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3424,
"end": 3448,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3428,
"end": 3447,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3428,
"end": 3431,
"ctxt": 0
},
"value": "r18",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3434,
"end": 3447,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3434,
"end": 3439,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3440,
"end": 3446,
"ctxt": 0
},
"value": "r18arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
}
],
"interpreter": null
}