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

10535 lines
312 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 104,
"end": 3462,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 110,
"end": 114,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 104,
"end": 131,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 117,
"end": 129,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 117,
"end": 120,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 120,
"end": 128,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 122,
"end": 128,
"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": 139,
"end": 146,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 133,
"end": 176,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 162,
"end": 174,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 162,
"end": 165,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 165,
"end": 173,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 167,
"end": 173,
"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": 155,
"end": 159,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 184,
"end": 192,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 178,
"end": 225,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 211,
"end": 223,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 211,
"end": 214,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 214,
"end": 222,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 216,
"end": 222,
"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": 201,
"end": 208,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 233,
"end": 245,
"ctxt": 0
},
"value": "OtherDerived",
"optional": false
},
"declare": false,
"span": {
"start": 227,
"end": 276,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 261,
"end": 274,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 261,
"end": 265,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 265,
"end": 273,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 267,
"end": 273,
"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": 254,
"end": 258,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 297,
"end": 301,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 302,
"end": 321,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 302,
"end": 321,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 303,
"end": 321,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 305,
"end": 321,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 309,
"end": 313,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 310,
"end": 313,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 312,
"end": 313,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 312,
"end": 313,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 305,
"end": 308,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 306,
"end": 307,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 306,
"end": 307,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 315,
"end": 321,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 318,
"end": 321,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 318,
"end": 319,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 318,
"end": 319,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 280,
"end": 323,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 342,
"end": 346,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 347,
"end": 353,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 347,
"end": 353,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 348,
"end": 353,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 350,
"end": 353,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 325,
"end": 360,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 354,
"end": 359,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 356,
"end": 359,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 381,
"end": 385,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 386,
"end": 411,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 386,
"end": 411,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 388,
"end": 411,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 390,
"end": 411,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 394,
"end": 398,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 395,
"end": 398,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 397,
"end": 398,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 397,
"end": 398,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 390,
"end": 393,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 391,
"end": 392,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 391,
"end": 392,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 400,
"end": 411,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 403,
"end": 411,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 403,
"end": 409,
"ctxt": 0
},
"kind": "string"
}
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 364,
"end": 413,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 432,
"end": 436,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 437,
"end": 443,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 437,
"end": 443,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 438,
"end": 443,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 440,
"end": 443,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 415,
"end": 450,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 444,
"end": 449,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 446,
"end": 449,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 471,
"end": 475,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 476,
"end": 497,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 476,
"end": 497,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 478,
"end": 497,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 480,
"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
},
"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"
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 454,
"end": 499,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 518,
"end": 522,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 523,
"end": 529,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 523,
"end": 529,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 524,
"end": 529,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 526,
"end": 529,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 501,
"end": 536,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 530,
"end": 535,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 532,
"end": 535,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 557,
"end": 561,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 562,
"end": 594,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 562,
"end": 594,
"ctxt": 0
},
"value": "a4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 564,
"end": 594,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 566,
"end": 594,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 573,
"end": 577,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 574,
"end": 577,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 576,
"end": 577,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 576,
"end": 577,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 579,
"end": 583,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 580,
"end": 583,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 582,
"end": 583,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 582,
"end": 583,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 566,
"end": 572,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 570,
"end": 571,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 570,
"end": 571,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 585,
"end": 594,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 588,
"end": 594,
"ctxt": 0
},
"kind": "string"
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 540,
"end": 596,
"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": 654,
"end": 658,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 659,
"end": 692,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 659,
"end": 692,
"ctxt": 0
},
"value": "a5",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 661,
"end": 692,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 663,
"end": 692,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 670,
"end": 686,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 671,
"end": 686,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 673,
"end": 686,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 674,
"end": 680,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 677,
"end": 680,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 679,
"end": 680,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 679,
"end": 680,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 682,
"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": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 663,
"end": 669,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 664,
"end": 665,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 664,
"end": 665,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 667,
"end": 668,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 667,
"end": 668,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": 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": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 637,
"end": 694,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 713,
"end": 717,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 718,
"end": 724,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 718,
"end": 724,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 719,
"end": 724,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 721,
"end": 724,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 696,
"end": 731,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 725,
"end": 730,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 727,
"end": 730,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 752,
"end": 756,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 757,
"end": 806,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 757,
"end": 806,
"ctxt": 0
},
"value": "a6",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 759,
"end": 806,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 761,
"end": 806,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 778,
"end": 800,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 779,
"end": 800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 781,
"end": 800,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 782,
"end": 788,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 785,
"end": 788,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 787,
"end": 788,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 787,
"end": 788,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 790,
"end": 800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 793,
"end": 800,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 793,
"end": 800,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 761,
"end": 777,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 762,
"end": 776,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 762,
"end": 763,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 772,
"end": 776,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 772,
"end": 776,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 802,
"end": 806,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 805,
"end": 806,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 805,
"end": 806,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 735,
"end": 808,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 827,
"end": 831,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 832,
"end": 838,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 832,
"end": 838,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 833,
"end": 838,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 835,
"end": 838,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 810,
"end": 845,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 839,
"end": 844,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 841,
"end": 844,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 866,
"end": 871,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 872,
"end": 926,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 872,
"end": 926,
"ctxt": 0
},
"value": "a11",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 875,
"end": 926,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 877,
"end": 926,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 881,
"end": 894,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 882,
"end": 894,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 884,
"end": 894,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 886,
"end": 892,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 886,
"end": 889,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 889,
"end": 892,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 891,
"end": 892,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 891,
"end": 892,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 896,
"end": 917,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 897,
"end": 917,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 899,
"end": 917,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 901,
"end": 908,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 901,
"end": 904,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 904,
"end": 907,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 906,
"end": 907,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 906,
"end": 907,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 909,
"end": 915,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 909,
"end": 912,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 912,
"end": 915,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 914,
"end": 915,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 914,
"end": 915,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 877,
"end": 880,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 878,
"end": 879,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 878,
"end": 879,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 919,
"end": 926,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 922,
"end": 926,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 922,
"end": 926,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 849,
"end": 928,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 947,
"end": 952,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 953,
"end": 959,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 953,
"end": 959,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 954,
"end": 959,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 956,
"end": 959,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 930,
"end": 966,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 960,
"end": 965,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 962,
"end": 965,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 987,
"end": 992,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 993,
"end": 1027,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 993,
"end": 1027,
"ctxt": 0
},
"value": "a15",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 996,
"end": 1027,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 998,
"end": 1027,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1002,
"end": 1019,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1003,
"end": 1019,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1005,
"end": 1019,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1007,
"end": 1012,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1007,
"end": 1008,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1008,
"end": 1011,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1010,
"end": 1011,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1010,
"end": 1011,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1013,
"end": 1017,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1013,
"end": 1014,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1014,
"end": 1017,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1016,
"end": 1017,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1016,
"end": 1017,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 998,
"end": 1001,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 999,
"end": 1000,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 999,
"end": 1000,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1021,
"end": 1027,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1024,
"end": 1027,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1024,
"end": 1025,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1024,
"end": 1025,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 970,
"end": 1029,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1048,
"end": 1053,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1054,
"end": 1060,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1054,
"end": 1060,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1055,
"end": 1060,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1057,
"end": 1060,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1031,
"end": 1067,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1061,
"end": 1066,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1063,
"end": 1066,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1088,
"end": 1093,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1094,
"end": 1141,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1094,
"end": 1141,
"ctxt": 0
},
"value": "a16",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1097,
"end": 1141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1099,
"end": 1141,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1116,
"end": 1133,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1117,
"end": 1133,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1119,
"end": 1133,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1121,
"end": 1126,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1121,
"end": 1122,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1122,
"end": 1125,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1124,
"end": 1125,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1124,
"end": 1125,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1127,
"end": 1131,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1127,
"end": 1128,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1128,
"end": 1131,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1130,
"end": 1131,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1130,
"end": 1131,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1099,
"end": 1115,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1100,
"end": 1114,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1100,
"end": 1101,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1110,
"end": 1114,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1110,
"end": 1114,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1135,
"end": 1141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1138,
"end": 1141,
"ctxt": 0
},
"elemType": {
"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
}
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 1071,
"end": 1143,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1162,
"end": 1167,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1168,
"end": 1174,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1168,
"end": 1174,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1169,
"end": 1174,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1171,
"end": 1174,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1145,
"end": 1181,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1175,
"end": 1180,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1177,
"end": 1180,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1202,
"end": 1207,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1208,
"end": 1316,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1208,
"end": 1316,
"ctxt": 0
},
"value": "a17",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1211,
"end": 1316,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1213,
"end": 1316,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1220,
"end": 1261,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1240,
"end": 1254,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1241,
"end": 1254,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1243,
"end": 1254,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1244,
"end": 1248,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1245,
"end": 1248,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1247,
"end": 1248,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1247,
"end": 1248,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1250,
"end": 1254,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1253,
"end": 1254,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1253,
"end": 1254,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1255,
"end": 1260,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1257,
"end": 1260,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1257,
"end": 1258,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1257,
"end": 1258,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1220,
"end": 1239,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1221,
"end": 1238,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1221,
"end": 1222,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1231,
"end": 1238,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1231,
"end": 1238,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1267,
"end": 1305,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1284,
"end": 1298,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1285,
"end": 1298,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1287,
"end": 1298,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1288,
"end": 1292,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1289,
"end": 1292,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1291,
"end": 1292,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1291,
"end": 1292,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1294,
"end": 1298,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1297,
"end": 1298,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1297,
"end": 1298,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1299,
"end": 1304,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1301,
"end": 1304,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1301,
"end": 1302,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1301,
"end": 1302,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1267,
"end": 1283,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1268,
"end": 1282,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1268,
"end": 1269,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1278,
"end": 1282,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1278,
"end": 1282,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1185,
"end": 1318,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1337,
"end": 1342,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1343,
"end": 1349,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1343,
"end": 1349,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1344,
"end": 1349,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1346,
"end": 1349,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1320,
"end": 1356,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1350,
"end": 1355,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1352,
"end": 1355,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1377,
"end": 1382,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1383,
"end": 1597,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1383,
"end": 1597,
"ctxt": 0
},
"value": "a18",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1386,
"end": 1597,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1388,
"end": 1597,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1395,
"end": 1491,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1396,
"end": 1482,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1397,
"end": 1482,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1399,
"end": 1482,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1410,
"end": 1439,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1430,
"end": 1434,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1431,
"end": 1434,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1433,
"end": 1434,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1433,
"end": 1434,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1435,
"end": 1438,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1437,
"end": 1438,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1437,
"end": 1438,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1410,
"end": 1429,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1411,
"end": 1428,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1411,
"end": 1412,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1421,
"end": 1428,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1421,
"end": 1428,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1449,
"end": 1475,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1466,
"end": 1470,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1467,
"end": 1470,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1469,
"end": 1470,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1469,
"end": 1470,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1471,
"end": 1474,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1473,
"end": 1474,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1473,
"end": 1474,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1449,
"end": 1465,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1450,
"end": 1464,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1450,
"end": 1451,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1460,
"end": 1464,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1460,
"end": 1464,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1483,
"end": 1490,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1485,
"end": 1490,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1485,
"end": 1488,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1497,
"end": 1594,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1498,
"end": 1585,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1499,
"end": 1585,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1501,
"end": 1585,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1512,
"end": 1542,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1533,
"end": 1537,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1534,
"end": 1537,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1536,
"end": 1537,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1536,
"end": 1537,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1538,
"end": 1541,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1540,
"end": 1541,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1540,
"end": 1541,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1512,
"end": 1532,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1513,
"end": 1531,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1513,
"end": 1514,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1523,
"end": 1531,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1523,
"end": 1531,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1552,
"end": 1578,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1569,
"end": 1573,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1570,
"end": 1573,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1572,
"end": 1573,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1572,
"end": 1573,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1574,
"end": 1577,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1576,
"end": 1577,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1576,
"end": 1577,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1552,
"end": 1568,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1553,
"end": 1567,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1553,
"end": 1554,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1563,
"end": 1567,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1563,
"end": 1567,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1586,
"end": 1593,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1588,
"end": 1593,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1588,
"end": 1591,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1360,
"end": 1599,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1618,
"end": 1623,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1624,
"end": 1630,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1624,
"end": 1630,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1625,
"end": 1630,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1627,
"end": 1630,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1601,
"end": 1637,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1631,
"end": 1636,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1633,
"end": 1636,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1641,
"end": 1676,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1645,
"end": 1675,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1645,
"end": 1650,
"ctxt": 0
},
"value": "r1arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1653,
"end": 1675,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1657,
"end": 1661,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1658,
"end": 1661,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1660,
"end": 1661,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1660,
"end": 1661,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 1666,
"end": 1675,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 1671,
"end": 1675,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1667,
"end": 1670,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1667,
"end": 1668,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1667,
"end": 1668,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1653,
"end": 1656,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1654,
"end": 1655,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1654,
"end": 1655,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1678,
"end": 1714,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1682,
"end": 1713,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1682,
"end": 1688,
"ctxt": 0
},
"value": "r1arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1691,
"end": 1713,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1695,
"end": 1699,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1696,
"end": 1699,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1698,
"end": 1699,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1698,
"end": 1699,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 1704,
"end": 1713,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 1709,
"end": 1713,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1705,
"end": 1708,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1705,
"end": 1706,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1705,
"end": 1706,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1691,
"end": 1694,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1692,
"end": 1693,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1692,
"end": 1693,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1716,
"end": 1737,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1720,
"end": 1736,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1720,
"end": 1722,
"ctxt": 0
},
"value": "r1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1725,
"end": 1736,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1725,
"end": 1729,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1730,
"end": 1735,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1739,
"end": 1765,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1743,
"end": 1764,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1743,
"end": 1746,
"ctxt": 0
},
"value": "r1a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1749,
"end": 1764,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1750,
"end": 1755,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1757,
"end": 1763,
"ctxt": 0
},
"value": "r1arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1767,
"end": 1793,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1771,
"end": 1792,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1771,
"end": 1774,
"ctxt": 0
},
"value": "r1b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1777,
"end": 1792,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1778,
"end": 1784,
"ctxt": 0
},
"value": "r1arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1786,
"end": 1791,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1797,
"end": 1827,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1801,
"end": 1826,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1801,
"end": 1806,
"ctxt": 0
},
"value": "r2arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1809,
"end": 1826,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1813,
"end": 1817,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1814,
"end": 1817,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1816,
"end": 1817,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1816,
"end": 1817,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "ArrayExpression",
"span": {
"start": 1822,
"end": 1826,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1823,
"end": 1825,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1809,
"end": 1812,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1810,
"end": 1811,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1810,
"end": 1811,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1829,
"end": 1860,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1833,
"end": 1859,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1833,
"end": 1839,
"ctxt": 0
},
"value": "r2arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1842,
"end": 1859,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1846,
"end": 1850,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1847,
"end": 1850,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1849,
"end": 1850,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1849,
"end": 1850,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "ArrayExpression",
"span": {
"start": 1855,
"end": 1859,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1856,
"end": 1858,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1842,
"end": 1845,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1843,
"end": 1844,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1843,
"end": 1844,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1862,
"end": 1883,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1866,
"end": 1882,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1866,
"end": 1868,
"ctxt": 0
},
"value": "r2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1871,
"end": 1882,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1871,
"end": 1875,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1876,
"end": 1881,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1885,
"end": 1911,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1889,
"end": 1910,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1889,
"end": 1892,
"ctxt": 0
},
"value": "r2a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1895,
"end": 1910,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1896,
"end": 1901,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1903,
"end": 1909,
"ctxt": 0
},
"value": "r2arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1913,
"end": 1939,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1917,
"end": 1938,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1917,
"end": 1920,
"ctxt": 0
},
"value": "r2b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1923,
"end": 1938,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1924,
"end": 1930,
"ctxt": 0
},
"value": "r2arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1932,
"end": 1937,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1943,
"end": 1976,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1947,
"end": 1975,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1947,
"end": 1952,
"ctxt": 0
},
"value": "r3arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1955,
"end": 1975,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1959,
"end": 1963,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1960,
"end": 1963,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1962,
"end": 1963,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1962,
"end": 1963,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 1968,
"end": 1975,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 1971,
"end": 1975,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1969,
"end": 1970,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1969,
"end": 1970,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1955,
"end": 1958,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1956,
"end": 1957,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1956,
"end": 1957,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1978,
"end": 2008,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1982,
"end": 2007,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1982,
"end": 1988,
"ctxt": 0
},
"value": "r3arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1991,
"end": 2007,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1995,
"end": 1999,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1996,
"end": 1999,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1998,
"end": 1999,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1998,
"end": 1999,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "BlockStatement",
"span": {
"start": 2004,
"end": 2007,
"ctxt": 0
},
"stmts": []
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1991,
"end": 1994,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1992,
"end": 1993,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1992,
"end": 1993,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2010,
"end": 2031,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2014,
"end": 2030,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2014,
"end": 2016,
"ctxt": 0
},
"value": "r3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2019,
"end": 2030,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2019,
"end": 2023,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2024,
"end": 2029,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2033,
"end": 2059,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2037,
"end": 2058,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2037,
"end": 2040,
"ctxt": 0
},
"value": "r3a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2043,
"end": 2058,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2044,
"end": 2049,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2051,
"end": 2057,
"ctxt": 0
},
"value": "r3arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2061,
"end": 2087,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2065,
"end": 2086,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2065,
"end": 2068,
"ctxt": 0
},
"value": "r3b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2071,
"end": 2086,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2072,
"end": 2078,
"ctxt": 0
},
"value": "r3arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2080,
"end": 2085,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2091,
"end": 2128,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2095,
"end": 2127,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2095,
"end": 2100,
"ctxt": 0
},
"value": "r4arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2103,
"end": 2127,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2110,
"end": 2114,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2111,
"end": 2114,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2113,
"end": 2114,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2113,
"end": 2114,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2116,
"end": 2120,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2117,
"end": 2120,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2119,
"end": 2120,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2119,
"end": 2120,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "StringLiteral",
"span": {
"start": 2125,
"end": 2127,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2103,
"end": 2109,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2104,
"end": 2105,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2104,
"end": 2105,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2107,
"end": 2108,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2107,
"end": 2108,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2130,
"end": 2168,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2134,
"end": 2167,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2134,
"end": 2140,
"ctxt": 0
},
"value": "r4arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2143,
"end": 2167,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2150,
"end": 2154,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2151,
"end": 2154,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2153,
"end": 2154,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2153,
"end": 2154,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2156,
"end": 2160,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2157,
"end": 2160,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2159,
"end": 2160,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2159,
"end": 2160,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "StringLiteral",
"span": {
"start": 2165,
"end": 2167,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2143,
"end": 2149,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2144,
"end": 2145,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2144,
"end": 2145,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2147,
"end": 2148,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2147,
"end": 2148,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2170,
"end": 2191,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2174,
"end": 2190,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2174,
"end": 2176,
"ctxt": 0
},
"value": "r4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2179,
"end": 2190,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2179,
"end": 2183,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2184,
"end": 2189,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2193,
"end": 2219,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2197,
"end": 2218,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2197,
"end": 2200,
"ctxt": 0
},
"value": "r4a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2203,
"end": 2218,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2204,
"end": 2209,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2211,
"end": 2217,
"ctxt": 0
},
"value": "r4arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2221,
"end": 2247,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2225,
"end": 2246,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2225,
"end": 2228,
"ctxt": 0
},
"value": "r4b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2231,
"end": 2246,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2232,
"end": 2238,
"ctxt": 0
},
"value": "r4arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2240,
"end": 2245,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2251,
"end": 2299,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2255,
"end": 2298,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2255,
"end": 2260,
"ctxt": 0
},
"value": "r5arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2263,
"end": 2298,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2270,
"end": 2286,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2271,
"end": 2286,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2273,
"end": 2286,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2274,
"end": 2280,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2277,
"end": 2280,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2279,
"end": 2280,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2279,
"end": 2280,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2282,
"end": 2286,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2285,
"end": 2286,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2285,
"end": 2286,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2291,
"end": 2298,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2294,
"end": 2298,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2292,
"end": 2293,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2292,
"end": 2293,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2263,
"end": 2269,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2264,
"end": 2265,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2264,
"end": 2265,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2267,
"end": 2268,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2267,
"end": 2268,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2301,
"end": 2350,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2305,
"end": 2349,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2305,
"end": 2311,
"ctxt": 0
},
"value": "r5arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2314,
"end": 2349,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2321,
"end": 2337,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2322,
"end": 2337,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2324,
"end": 2337,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2325,
"end": 2331,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2328,
"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
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2333,
"end": 2337,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2336,
"end": 2337,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2336,
"end": 2337,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2342,
"end": 2349,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2345,
"end": 2349,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2343,
"end": 2344,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2343,
"end": 2344,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2314,
"end": 2320,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2315,
"end": 2316,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2315,
"end": 2316,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2318,
"end": 2319,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2318,
"end": 2319,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2352,
"end": 2373,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2356,
"end": 2372,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2356,
"end": 2358,
"ctxt": 0
},
"value": "r5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2361,
"end": 2372,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2361,
"end": 2365,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2366,
"end": 2371,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2375,
"end": 2401,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2379,
"end": 2400,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2379,
"end": 2382,
"ctxt": 0
},
"value": "r5a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2385,
"end": 2400,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2386,
"end": 2391,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2393,
"end": 2399,
"ctxt": 0
},
"value": "r5arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2403,
"end": 2429,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2407,
"end": 2428,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2407,
"end": 2410,
"ctxt": 0
},
"value": "r5b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2413,
"end": 2428,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2414,
"end": 2420,
"ctxt": 0
},
"value": "r5arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2422,
"end": 2427,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2433,
"end": 2510,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2437,
"end": 2509,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2437,
"end": 2442,
"ctxt": 0
},
"value": "r6arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2445,
"end": 2509,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2481,
"end": 2497,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2482,
"end": 2497,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2484,
"end": 2497,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2485,
"end": 2491,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2488,
"end": 2491,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2490,
"end": 2491,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2490,
"end": 2491,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2493,
"end": 2497,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2496,
"end": 2497,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2496,
"end": 2497,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2502,
"end": 2509,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2505,
"end": 2509,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2503,
"end": 2504,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2503,
"end": 2504,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2445,
"end": 2480,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2446,
"end": 2460,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2446,
"end": 2447,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2456,
"end": 2460,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2456,
"end": 2460,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2462,
"end": 2479,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2462,
"end": 2463,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2472,
"end": 2479,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2472,
"end": 2479,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2512,
"end": 2577,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2516,
"end": 2576,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2516,
"end": 2522,
"ctxt": 0
},
"value": "r6arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2525,
"end": 2576,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2542,
"end": 2564,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2543,
"end": 2564,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2545,
"end": 2564,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2546,
"end": 2552,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2549,
"end": 2552,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2551,
"end": 2552,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2551,
"end": 2552,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2554,
"end": 2564,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2557,
"end": 2564,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2557,
"end": 2564,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2569,
"end": 2576,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2572,
"end": 2576,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2570,
"end": 2571,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2570,
"end": 2571,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2525,
"end": 2541,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2526,
"end": 2540,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2526,
"end": 2527,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2536,
"end": 2540,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2536,
"end": 2540,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2579,
"end": 2600,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2583,
"end": 2599,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2583,
"end": 2585,
"ctxt": 0
},
"value": "r6",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2588,
"end": 2599,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2588,
"end": 2592,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2593,
"end": 2598,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2602,
"end": 2628,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2606,
"end": 2627,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2606,
"end": 2609,
"ctxt": 0
},
"value": "r6a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2612,
"end": 2627,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2613,
"end": 2618,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2620,
"end": 2626,
"ctxt": 0
},
"value": "r6arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2630,
"end": 2656,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2634,
"end": 2655,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2634,
"end": 2637,
"ctxt": 0
},
"value": "r6b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2640,
"end": 2655,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2641,
"end": 2647,
"ctxt": 0
},
"value": "r6arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2649,
"end": 2654,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2660,
"end": 2732,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2664,
"end": 2731,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2664,
"end": 2670,
"ctxt": 0
},
"value": "r11arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2673,
"end": 2731,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2680,
"end": 2693,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2681,
"end": 2693,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2683,
"end": 2693,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2685,
"end": 2691,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2685,
"end": 2688,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2688,
"end": 2691,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2690,
"end": 2691,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2690,
"end": 2691,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 2695,
"end": 2716,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2696,
"end": 2716,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2698,
"end": 2716,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2700,
"end": 2707,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2700,
"end": 2703,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2703,
"end": 2706,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2705,
"end": 2706,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2705,
"end": 2706,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2708,
"end": 2714,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2708,
"end": 2711,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2711,
"end": 2714,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2713,
"end": 2714,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2713,
"end": 2714,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2721,
"end": 2731,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2727,
"end": 2731,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2722,
"end": 2726,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2722,
"end": 2726,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2673,
"end": 2679,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2674,
"end": 2675,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2674,
"end": 2675,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2677,
"end": 2678,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2677,
"end": 2678,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2734,
"end": 2804,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2738,
"end": 2803,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2738,
"end": 2745,
"ctxt": 0
},
"value": "r11arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2748,
"end": 2803,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2752,
"end": 2765,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2753,
"end": 2765,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2755,
"end": 2765,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2757,
"end": 2763,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2757,
"end": 2760,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2760,
"end": 2763,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2762,
"end": 2763,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2762,
"end": 2763,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 2767,
"end": 2788,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2768,
"end": 2788,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2770,
"end": 2788,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2772,
"end": 2779,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2772,
"end": 2775,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2775,
"end": 2778,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2777,
"end": 2778,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2777,
"end": 2778,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2780,
"end": 2786,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2780,
"end": 2783,
"ctxt": 0
},
"value": "bar",
"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
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2793,
"end": 2803,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2799,
"end": 2803,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2794,
"end": 2798,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2794,
"end": 2798,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2748,
"end": 2751,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2749,
"end": 2750,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2749,
"end": 2750,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2806,
"end": 2830,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2810,
"end": 2829,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2810,
"end": 2813,
"ctxt": 0
},
"value": "r11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2816,
"end": 2829,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2816,
"end": 2821,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2822,
"end": 2828,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2832,
"end": 2861,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2836,
"end": 2860,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2836,
"end": 2840,
"ctxt": 0
},
"value": "r11a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2843,
"end": 2860,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2844,
"end": 2850,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2852,
"end": 2859,
"ctxt": 0
},
"value": "r11arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2863,
"end": 2892,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2867,
"end": 2891,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2867,
"end": 2871,
"ctxt": 0
},
"value": "r11b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2874,
"end": 2891,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2875,
"end": 2882,
"ctxt": 0
},
"value": "r11arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2884,
"end": 2890,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2896,
"end": 2949,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2900,
"end": 2948,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2900,
"end": 2906,
"ctxt": 0
},
"value": "r15arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2909,
"end": 2948,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2916,
"end": 2934,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2917,
"end": 2934,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2919,
"end": 2934,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2921,
"end": 2926,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2921,
"end": 2922,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2922,
"end": 2925,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2924,
"end": 2925,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2924,
"end": 2925,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2927,
"end": 2932,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2927,
"end": 2928,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2928,
"end": 2931,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2930,
"end": 2931,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2930,
"end": 2931,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2939,
"end": 2948,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2944,
"end": 2948,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2940,
"end": 2943,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2940,
"end": 2941,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2940,
"end": 2941,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2909,
"end": 2915,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2910,
"end": 2911,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2910,
"end": 2911,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2913,
"end": 2914,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2913,
"end": 2914,
"ctxt": 0
},
"value": "V",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2951,
"end": 3001,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2955,
"end": 3000,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2955,
"end": 2962,
"ctxt": 0
},
"value": "r15arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2965,
"end": 3000,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2969,
"end": 2986,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2970,
"end": 2986,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2972,
"end": 2986,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2974,
"end": 2979,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2974,
"end": 2975,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2975,
"end": 2978,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2977,
"end": 2978,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2977,
"end": 2978,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2980,
"end": 2984,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2980,
"end": 2981,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2981,
"end": 2984,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2983,
"end": 2984,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2983,
"end": 2984,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2991,
"end": 3000,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2996,
"end": 3000,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2992,
"end": 2995,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2992,
"end": 2993,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2992,
"end": 2993,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2965,
"end": 2968,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2966,
"end": 2967,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2966,
"end": 2967,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3003,
"end": 3027,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3007,
"end": 3026,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3007,
"end": 3010,
"ctxt": 0
},
"value": "r15",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3013,
"end": 3026,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3013,
"end": 3018,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3019,
"end": 3025,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3029,
"end": 3058,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3033,
"end": 3057,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3033,
"end": 3037,
"ctxt": 0
},
"value": "r15a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3040,
"end": 3057,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3041,
"end": 3047,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3049,
"end": 3056,
"ctxt": 0
},
"value": "r15arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3060,
"end": 3089,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3064,
"end": 3088,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3064,
"end": 3068,
"ctxt": 0
},
"value": "r15b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3071,
"end": 3088,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3072,
"end": 3079,
"ctxt": 0
},
"value": "r15arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3081,
"end": 3087,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3093,
"end": 3155,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3097,
"end": 3154,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3097,
"end": 3103,
"ctxt": 0
},
"value": "r16arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3106,
"end": 3154,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3123,
"end": 3140,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3124,
"end": 3140,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3126,
"end": 3140,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3128,
"end": 3133,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3128,
"end": 3129,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3129,
"end": 3132,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3131,
"end": 3132,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3131,
"end": 3132,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3134,
"end": 3138,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3134,
"end": 3135,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3135,
"end": 3138,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3137,
"end": 3138,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3137,
"end": 3138,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 3145,
"end": 3154,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3150,
"end": 3154,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3146,
"end": 3149,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3146,
"end": 3147,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3146,
"end": 3147,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3106,
"end": 3122,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3107,
"end": 3121,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3107,
"end": 3108,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3117,
"end": 3121,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3117,
"end": 3121,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3157,
"end": 3220,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3161,
"end": 3219,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3161,
"end": 3168,
"ctxt": 0
},
"value": "r16arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3171,
"end": 3219,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3188,
"end": 3205,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3189,
"end": 3205,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3191,
"end": 3205,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3193,
"end": 3198,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3193,
"end": 3194,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3194,
"end": 3197,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3196,
"end": 3197,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3196,
"end": 3197,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3199,
"end": 3203,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3199,
"end": 3200,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3200,
"end": 3203,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3202,
"end": 3203,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3202,
"end": 3203,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 3210,
"end": 3219,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3215,
"end": 3219,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3211,
"end": 3214,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3211,
"end": 3212,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3211,
"end": 3212,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3171,
"end": 3187,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3172,
"end": 3186,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3172,
"end": 3173,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3182,
"end": 3186,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3182,
"end": 3186,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3222,
"end": 3246,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3226,
"end": 3245,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3226,
"end": 3229,
"ctxt": 0
},
"value": "r16",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3232,
"end": 3245,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3232,
"end": 3237,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3238,
"end": 3244,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3248,
"end": 3277,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3252,
"end": 3276,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3252,
"end": 3256,
"ctxt": 0
},
"value": "r16a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3259,
"end": 3276,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3260,
"end": 3266,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3268,
"end": 3275,
"ctxt": 0
},
"value": "r16arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3279,
"end": 3308,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3283,
"end": 3307,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3283,
"end": 3287,
"ctxt": 0
},
"value": "r16b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3290,
"end": 3307,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3291,
"end": 3298,
"ctxt": 0
},
"value": "r16arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3300,
"end": 3306,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3312,
"end": 3358,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3316,
"end": 3357,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3316,
"end": 3322,
"ctxt": 0
},
"value": "r17arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3325,
"end": 3357,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3329,
"end": 3343,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3330,
"end": 3343,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3332,
"end": 3343,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3333,
"end": 3337,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3334,
"end": 3337,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3336,
"end": 3337,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3336,
"end": 3337,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3339,
"end": 3343,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3342,
"end": 3343,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3342,
"end": 3343,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 3348,
"end": 3357,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3353,
"end": 3357,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3349,
"end": 3352,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3349,
"end": 3350,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3349,
"end": 3350,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3325,
"end": 3328,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3326,
"end": 3327,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3326,
"end": 3327,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3360,
"end": 3384,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3364,
"end": 3383,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3364,
"end": 3367,
"ctxt": 0
},
"value": "r17",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3370,
"end": 3383,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3370,
"end": 3375,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3376,
"end": 3382,
"ctxt": 0
},
"value": "r17arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3388,
"end": 3436,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3392,
"end": 3435,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3392,
"end": 3398,
"ctxt": 0
},
"value": "r18arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3401,
"end": 3435,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3402,
"end": 3419,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3403,
"end": 3419,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3405,
"end": 3419,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3409,
"end": 3413,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3410,
"end": 3413,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3412,
"end": 3413,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3412,
"end": 3413,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3405,
"end": 3408,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3406,
"end": 3407,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3406,
"end": 3407,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3415,
"end": 3419,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3418,
"end": 3419,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3418,
"end": 3419,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 3424,
"end": 3435,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3431,
"end": 3435,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3425,
"end": 3430,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3425,
"end": 3428,
"ctxt": 0
},
"kind": "any"
}
}
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3438,
"end": 3462,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3442,
"end": 3461,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3442,
"end": 3445,
"ctxt": 0
},
"value": "r18",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3448,
"end": 3461,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3448,
"end": 3453,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3454,
"end": 3460,
"ctxt": 0
},
"value": "r18arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
}
],
"interpreter": null
}