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

10607 lines
314 KiB
JSON

{
"type": "Script",
"span": {
"start": 103,
"end": 3353,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 109,
"end": 113,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 103,
"end": 130,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 116,
"end": 128,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 116,
"end": 119,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 119,
"end": 127,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 121,
"end": 127,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 137,
"end": 144,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 131,
"end": 174,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 160,
"end": 172,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 160,
"end": 163,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 163,
"end": 171,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 165,
"end": 171,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 153,
"end": 157,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 181,
"end": 189,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 175,
"end": 222,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 208,
"end": 220,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 208,
"end": 211,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 211,
"end": 219,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 213,
"end": 219,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 198,
"end": 205,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 229,
"end": 241,
"ctxt": 0
},
"value": "OtherDerived",
"optional": false
},
"declare": false,
"span": {
"start": 223,
"end": 272,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 257,
"end": 270,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 257,
"end": 261,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 261,
"end": 269,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 263,
"end": 269,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 250,
"end": 254,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 291,
"end": 295,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 296,
"end": 315,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 296,
"end": 315,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 297,
"end": 315,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 299,
"end": 315,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 303,
"end": 307,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 304,
"end": 307,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 306,
"end": 307,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 306,
"end": 307,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 299,
"end": 302,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 300,
"end": 301,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 300,
"end": 301,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 309,
"end": 315,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 312,
"end": 315,
"ctxt": 0
},
"elemType": {
"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
}
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 274,
"end": 317,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 335,
"end": 339,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 340,
"end": 346,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 340,
"end": 346,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 341,
"end": 346,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 343,
"end": 346,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 318,
"end": 353,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 347,
"end": 352,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 349,
"end": 352,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 372,
"end": 376,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 377,
"end": 402,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 377,
"end": 402,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 379,
"end": 402,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 381,
"end": 402,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 385,
"end": 389,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 386,
"end": 389,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 388,
"end": 389,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 388,
"end": 389,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 381,
"end": 384,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 382,
"end": 383,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 382,
"end": 383,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 391,
"end": 402,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 394,
"end": 402,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 394,
"end": 400,
"ctxt": 0
},
"kind": "string"
}
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 355,
"end": 404,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 422,
"end": 426,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 427,
"end": 433,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 427,
"end": 433,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 428,
"end": 433,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 430,
"end": 433,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 405,
"end": 440,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 434,
"end": 439,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 436,
"end": 439,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 459,
"end": 463,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 464,
"end": 485,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 464,
"end": 485,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 466,
"end": 485,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 468,
"end": 485,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 472,
"end": 476,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 473,
"end": 476,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 475,
"end": 476,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 475,
"end": 476,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 468,
"end": 471,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 469,
"end": 470,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 469,
"end": 470,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 478,
"end": 485,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 481,
"end": 485,
"ctxt": 0
},
"kind": "void"
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 442,
"end": 487,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 505,
"end": 509,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 510,
"end": 516,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 510,
"end": 516,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 511,
"end": 516,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 513,
"end": 516,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 488,
"end": 523,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 517,
"end": 522,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 519,
"end": 522,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 542,
"end": 546,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 547,
"end": 579,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 547,
"end": 579,
"ctxt": 0
},
"value": "a4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 549,
"end": 579,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 551,
"end": 579,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 558,
"end": 562,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 559,
"end": 562,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 561,
"end": 562,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 561,
"end": 562,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 564,
"end": 568,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 565,
"end": 568,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 551,
"end": 557,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 552,
"end": 553,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 552,
"end": 553,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 555,
"end": 556,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 555,
"end": 556,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 570,
"end": 579,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 573,
"end": 579,
"ctxt": 0
},
"kind": "string"
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 525,
"end": 581,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 599,
"end": 603,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 604,
"end": 610,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 604,
"end": 610,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 605,
"end": 610,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 607,
"end": 610,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 582,
"end": 617,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 611,
"end": 616,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 613,
"end": 616,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 636,
"end": 640,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 641,
"end": 674,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 641,
"end": 674,
"ctxt": 0
},
"value": "a5",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 643,
"end": 674,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 645,
"end": 674,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 652,
"end": 668,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 653,
"end": 668,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 655,
"end": 668,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 656,
"end": 662,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 659,
"end": 662,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 661,
"end": 662,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 661,
"end": 662,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 664,
"end": 668,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 667,
"end": 668,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 667,
"end": 668,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 645,
"end": 651,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 646,
"end": 647,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 646,
"end": 647,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 649,
"end": 650,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 649,
"end": 650,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 670,
"end": 674,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 673,
"end": 674,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 673,
"end": 674,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 619,
"end": 676,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 694,
"end": 698,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 699,
"end": 705,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 699,
"end": 705,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 700,
"end": 705,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 702,
"end": 705,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 677,
"end": 712,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 706,
"end": 711,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 708,
"end": 711,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 731,
"end": 735,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 736,
"end": 785,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 736,
"end": 785,
"ctxt": 0
},
"value": "a6",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 738,
"end": 785,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 740,
"end": 785,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 757,
"end": 779,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 758,
"end": 779,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 760,
"end": 779,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 761,
"end": 767,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 764,
"end": 767,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 766,
"end": 767,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 766,
"end": 767,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 769,
"end": 779,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 772,
"end": 779,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 772,
"end": 779,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 740,
"end": 756,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 741,
"end": 755,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 741,
"end": 742,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 751,
"end": 755,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 751,
"end": 755,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 781,
"end": 785,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 784,
"end": 785,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 784,
"end": 785,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 714,
"end": 787,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 805,
"end": 809,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 810,
"end": 816,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 810,
"end": 816,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 811,
"end": 816,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 813,
"end": 816,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 788,
"end": 823,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 817,
"end": 822,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 819,
"end": 822,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 842,
"end": 847,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 848,
"end": 902,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 848,
"end": 902,
"ctxt": 0
},
"value": "a11",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 851,
"end": 902,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 853,
"end": 902,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 857,
"end": 870,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 858,
"end": 870,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 860,
"end": 870,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 862,
"end": 868,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 862,
"end": 865,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 865,
"end": 868,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 867,
"end": 868,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 867,
"end": 868,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 872,
"end": 893,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 873,
"end": 893,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 875,
"end": 893,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 877,
"end": 884,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 877,
"end": 880,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 880,
"end": 883,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 882,
"end": 883,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 882,
"end": 883,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 885,
"end": 891,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 885,
"end": 888,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 888,
"end": 891,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 890,
"end": 891,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 890,
"end": 891,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 853,
"end": 856,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 854,
"end": 855,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 854,
"end": 855,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 895,
"end": 902,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 898,
"end": 902,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 898,
"end": 902,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 825,
"end": 904,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 922,
"end": 927,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 928,
"end": 934,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 928,
"end": 934,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 929,
"end": 934,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 931,
"end": 934,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 905,
"end": 941,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 935,
"end": 940,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 937,
"end": 940,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 960,
"end": 965,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 966,
"end": 1000,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 966,
"end": 1000,
"ctxt": 0
},
"value": "a15",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 969,
"end": 1000,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 971,
"end": 1000,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 975,
"end": 992,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 976,
"end": 992,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 978,
"end": 992,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 980,
"end": 985,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 980,
"end": 981,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 981,
"end": 984,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 983,
"end": 984,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 983,
"end": 984,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 986,
"end": 990,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 986,
"end": 987,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 987,
"end": 990,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 989,
"end": 990,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 989,
"end": 990,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 971,
"end": 974,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 972,
"end": 973,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 972,
"end": 973,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 994,
"end": 1000,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 997,
"end": 1000,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 997,
"end": 998,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 997,
"end": 998,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 943,
"end": 1002,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1020,
"end": 1025,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1026,
"end": 1032,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1026,
"end": 1032,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1027,
"end": 1032,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1029,
"end": 1032,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1003,
"end": 1039,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1033,
"end": 1038,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1035,
"end": 1038,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1058,
"end": 1063,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1064,
"end": 1111,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1064,
"end": 1111,
"ctxt": 0
},
"value": "a16",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1067,
"end": 1111,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1069,
"end": 1111,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1086,
"end": 1103,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1087,
"end": 1103,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1089,
"end": 1103,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1091,
"end": 1096,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1091,
"end": 1092,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1092,
"end": 1095,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1094,
"end": 1095,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1094,
"end": 1095,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1097,
"end": 1101,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1097,
"end": 1098,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1098,
"end": 1101,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1100,
"end": 1101,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1100,
"end": 1101,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1069,
"end": 1085,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1070,
"end": 1084,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1070,
"end": 1071,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1080,
"end": 1084,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1080,
"end": 1084,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1105,
"end": 1111,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1108,
"end": 1111,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1108,
"end": 1109,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1108,
"end": 1109,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 1041,
"end": 1113,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1131,
"end": 1136,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1137,
"end": 1143,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1137,
"end": 1143,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1138,
"end": 1143,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1140,
"end": 1143,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1114,
"end": 1150,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1144,
"end": 1149,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1146,
"end": 1149,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1169,
"end": 1174,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1175,
"end": 1280,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1175,
"end": 1280,
"ctxt": 0
},
"value": "a17",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1178,
"end": 1280,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1180,
"end": 1280,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1186,
"end": 1227,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1206,
"end": 1220,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1207,
"end": 1220,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1209,
"end": 1220,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1210,
"end": 1214,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1211,
"end": 1214,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1213,
"end": 1214,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1213,
"end": 1214,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1216,
"end": 1220,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1219,
"end": 1220,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1219,
"end": 1220,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1221,
"end": 1226,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1223,
"end": 1226,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1223,
"end": 1224,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1223,
"end": 1224,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1186,
"end": 1205,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1187,
"end": 1204,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1187,
"end": 1188,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1197,
"end": 1204,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1197,
"end": 1204,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1232,
"end": 1270,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1249,
"end": 1263,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1250,
"end": 1263,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1252,
"end": 1263,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1253,
"end": 1257,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1254,
"end": 1257,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1256,
"end": 1257,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1256,
"end": 1257,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1259,
"end": 1263,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1262,
"end": 1263,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1262,
"end": 1263,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1264,
"end": 1269,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1266,
"end": 1269,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1266,
"end": 1267,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1266,
"end": 1267,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1232,
"end": 1248,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1233,
"end": 1247,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1233,
"end": 1234,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1243,
"end": 1247,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1243,
"end": 1247,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1152,
"end": 1282,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1300,
"end": 1305,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1306,
"end": 1312,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1306,
"end": 1312,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1307,
"end": 1312,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1309,
"end": 1312,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1283,
"end": 1319,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1313,
"end": 1318,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1315,
"end": 1318,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1338,
"end": 1343,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1344,
"end": 1549,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1344,
"end": 1549,
"ctxt": 0
},
"value": "a18",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1347,
"end": 1549,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1349,
"end": 1549,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1355,
"end": 1448,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1356,
"end": 1439,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1357,
"end": 1439,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1359,
"end": 1439,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1369,
"end": 1398,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1389,
"end": 1393,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1390,
"end": 1393,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1392,
"end": 1393,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1392,
"end": 1393,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1394,
"end": 1397,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1396,
"end": 1397,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1396,
"end": 1397,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1369,
"end": 1388,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1370,
"end": 1387,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1370,
"end": 1371,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1380,
"end": 1387,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1380,
"end": 1387,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1407,
"end": 1433,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1424,
"end": 1428,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1425,
"end": 1428,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1427,
"end": 1428,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1427,
"end": 1428,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1429,
"end": 1432,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1431,
"end": 1432,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1431,
"end": 1432,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1407,
"end": 1423,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1408,
"end": 1422,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1408,
"end": 1409,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1418,
"end": 1422,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1418,
"end": 1422,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1440,
"end": 1447,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1442,
"end": 1447,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1442,
"end": 1445,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1453,
"end": 1547,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1454,
"end": 1538,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1455,
"end": 1538,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1457,
"end": 1538,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1467,
"end": 1497,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1488,
"end": 1492,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1489,
"end": 1492,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1491,
"end": 1492,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1491,
"end": 1492,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1493,
"end": 1496,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1495,
"end": 1496,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1495,
"end": 1496,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1467,
"end": 1487,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1468,
"end": 1486,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1468,
"end": 1469,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1478,
"end": 1486,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1478,
"end": 1486,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1506,
"end": 1532,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1523,
"end": 1527,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1524,
"end": 1527,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1526,
"end": 1527,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1526,
"end": 1527,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1528,
"end": 1531,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1530,
"end": 1531,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1530,
"end": 1531,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1506,
"end": 1522,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1507,
"end": 1521,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1507,
"end": 1508,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1517,
"end": 1521,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1517,
"end": 1521,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1539,
"end": 1546,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1541,
"end": 1546,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1541,
"end": 1544,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1321,
"end": 1551,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1569,
"end": 1574,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1575,
"end": 1581,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1575,
"end": 1581,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1576,
"end": 1581,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1578,
"end": 1581,
"ctxt": 0
},
"kind": "any"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1552,
"end": 1588,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1582,
"end": 1587,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1584,
"end": 1587,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1590,
"end": 1625,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1594,
"end": 1624,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1594,
"end": 1599,
"ctxt": 0
},
"value": "r1arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1602,
"end": 1624,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1606,
"end": 1610,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1607,
"end": 1610,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1609,
"end": 1610,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1609,
"end": 1610,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 1615,
"end": 1624,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 1620,
"end": 1624,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1616,
"end": 1619,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1616,
"end": 1617,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1616,
"end": 1617,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1602,
"end": 1605,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1603,
"end": 1604,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1603,
"end": 1604,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1626,
"end": 1662,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1630,
"end": 1661,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1630,
"end": 1636,
"ctxt": 0
},
"value": "r1arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1639,
"end": 1661,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1643,
"end": 1647,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1644,
"end": 1647,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1646,
"end": 1647,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1646,
"end": 1647,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 1652,
"end": 1661,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 1657,
"end": 1661,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1653,
"end": 1656,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1653,
"end": 1654,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1653,
"end": 1654,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1639,
"end": 1642,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1640,
"end": 1641,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1640,
"end": 1641,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1663,
"end": 1684,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1667,
"end": 1683,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1667,
"end": 1669,
"ctxt": 0
},
"value": "r1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1672,
"end": 1683,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1672,
"end": 1676,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1677,
"end": 1682,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1685,
"end": 1711,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1689,
"end": 1710,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1689,
"end": 1692,
"ctxt": 0
},
"value": "r1a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1695,
"end": 1710,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1696,
"end": 1701,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1703,
"end": 1709,
"ctxt": 0
},
"value": "r1arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1712,
"end": 1738,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1716,
"end": 1737,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1716,
"end": 1719,
"ctxt": 0
},
"value": "r1b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1722,
"end": 1737,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1723,
"end": 1729,
"ctxt": 0
},
"value": "r1arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1731,
"end": 1736,
"ctxt": 0
},
"value": "r1arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1740,
"end": 1770,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1744,
"end": 1769,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1744,
"end": 1749,
"ctxt": 0
},
"value": "r2arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1752,
"end": 1769,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1756,
"end": 1760,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1757,
"end": 1760,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1759,
"end": 1760,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1759,
"end": 1760,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "ArrayExpression",
"span": {
"start": 1765,
"end": 1769,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1766,
"end": 1768,
"ctxt": 0
},
"value": "",
"raw": "''"
}
}
]
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1752,
"end": 1755,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1753,
"end": 1754,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1753,
"end": 1754,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1771,
"end": 1802,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1775,
"end": 1801,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1775,
"end": 1781,
"ctxt": 0
},
"value": "r2arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1784,
"end": 1801,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1788,
"end": 1792,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1789,
"end": 1792,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1791,
"end": 1792,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1791,
"end": 1792,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "ArrayExpression",
"span": {
"start": 1797,
"end": 1801,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1798,
"end": 1800,
"ctxt": 0
},
"value": "",
"raw": "''"
}
}
]
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1784,
"end": 1787,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1785,
"end": 1786,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1785,
"end": 1786,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1803,
"end": 1824,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1807,
"end": 1823,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1807,
"end": 1809,
"ctxt": 0
},
"value": "r2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1812,
"end": 1823,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1812,
"end": 1816,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1817,
"end": 1822,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1825,
"end": 1851,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1829,
"end": 1850,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1829,
"end": 1832,
"ctxt": 0
},
"value": "r2a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1835,
"end": 1850,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1836,
"end": 1841,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1843,
"end": 1849,
"ctxt": 0
},
"value": "r2arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1852,
"end": 1878,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1856,
"end": 1877,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1856,
"end": 1859,
"ctxt": 0
},
"value": "r2b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1862,
"end": 1877,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1863,
"end": 1869,
"ctxt": 0
},
"value": "r2arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1871,
"end": 1876,
"ctxt": 0
},
"value": "r2arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1880,
"end": 1913,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1884,
"end": 1912,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1884,
"end": 1889,
"ctxt": 0
},
"value": "r3arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1892,
"end": 1912,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1896,
"end": 1900,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1897,
"end": 1900,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1899,
"end": 1900,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1899,
"end": 1900,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 1905,
"end": 1912,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 1908,
"end": 1912,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1906,
"end": 1907,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1906,
"end": 1907,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1892,
"end": 1895,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1893,
"end": 1894,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1893,
"end": 1894,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1914,
"end": 1944,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1918,
"end": 1943,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1918,
"end": 1924,
"ctxt": 0
},
"value": "r3arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1927,
"end": 1943,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1931,
"end": 1935,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1932,
"end": 1935,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1934,
"end": 1935,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1934,
"end": 1935,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "BlockStatement",
"span": {
"start": 1940,
"end": 1943,
"ctxt": 0
},
"stmts": []
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1927,
"end": 1930,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1928,
"end": 1929,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1928,
"end": 1929,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1945,
"end": 1966,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1949,
"end": 1965,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1949,
"end": 1951,
"ctxt": 0
},
"value": "r3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1954,
"end": 1965,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1954,
"end": 1958,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1959,
"end": 1964,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1967,
"end": 1993,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1971,
"end": 1992,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1971,
"end": 1974,
"ctxt": 0
},
"value": "r3a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1977,
"end": 1992,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1978,
"end": 1983,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1985,
"end": 1991,
"ctxt": 0
},
"value": "r3arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1994,
"end": 2020,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1998,
"end": 2019,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1998,
"end": 2001,
"ctxt": 0
},
"value": "r3b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2004,
"end": 2019,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2005,
"end": 2011,
"ctxt": 0
},
"value": "r3arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2013,
"end": 2018,
"ctxt": 0
},
"value": "r3arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2022,
"end": 2059,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2026,
"end": 2058,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2026,
"end": 2031,
"ctxt": 0
},
"value": "r4arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2034,
"end": 2058,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2041,
"end": 2045,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2042,
"end": 2045,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2044,
"end": 2045,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2044,
"end": 2045,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2047,
"end": 2051,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2048,
"end": 2051,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2050,
"end": 2051,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2050,
"end": 2051,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "StringLiteral",
"span": {
"start": 2056,
"end": 2058,
"ctxt": 0
},
"value": "",
"raw": "''"
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2034,
"end": 2040,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2035,
"end": 2036,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2035,
"end": 2036,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2038,
"end": 2039,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2038,
"end": 2039,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2060,
"end": 2098,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2064,
"end": 2097,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2064,
"end": 2070,
"ctxt": 0
},
"value": "r4arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2073,
"end": 2097,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2080,
"end": 2084,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2081,
"end": 2084,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2083,
"end": 2084,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2083,
"end": 2084,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2086,
"end": 2090,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2087,
"end": 2090,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2089,
"end": 2090,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2089,
"end": 2090,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "StringLiteral",
"span": {
"start": 2095,
"end": 2097,
"ctxt": 0
},
"value": "",
"raw": "''"
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2073,
"end": 2079,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2074,
"end": 2075,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2074,
"end": 2075,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2077,
"end": 2078,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2077,
"end": 2078,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2099,
"end": 2120,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2103,
"end": 2119,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2103,
"end": 2105,
"ctxt": 0
},
"value": "r4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2108,
"end": 2119,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2108,
"end": 2112,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2113,
"end": 2118,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2121,
"end": 2147,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2125,
"end": 2146,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2125,
"end": 2128,
"ctxt": 0
},
"value": "r4a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2131,
"end": 2146,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2132,
"end": 2137,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2139,
"end": 2145,
"ctxt": 0
},
"value": "r4arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2148,
"end": 2174,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2152,
"end": 2173,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2152,
"end": 2155,
"ctxt": 0
},
"value": "r4b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2158,
"end": 2173,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2159,
"end": 2165,
"ctxt": 0
},
"value": "r4arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2167,
"end": 2172,
"ctxt": 0
},
"value": "r4arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2176,
"end": 2224,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2180,
"end": 2223,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2180,
"end": 2185,
"ctxt": 0
},
"value": "r5arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2188,
"end": 2223,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2195,
"end": 2211,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2196,
"end": 2211,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2198,
"end": 2211,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2199,
"end": 2205,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2202,
"end": 2205,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2204,
"end": 2205,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2204,
"end": 2205,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2207,
"end": 2211,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2210,
"end": 2211,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2210,
"end": 2211,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2216,
"end": 2223,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2219,
"end": 2223,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2217,
"end": 2218,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2217,
"end": 2218,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2188,
"end": 2194,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2189,
"end": 2190,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2189,
"end": 2190,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2192,
"end": 2193,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2192,
"end": 2193,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2225,
"end": 2274,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2229,
"end": 2273,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2229,
"end": 2235,
"ctxt": 0
},
"value": "r5arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2238,
"end": 2273,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2245,
"end": 2261,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2246,
"end": 2261,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2248,
"end": 2261,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2249,
"end": 2255,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2252,
"end": 2255,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2254,
"end": 2255,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2254,
"end": 2255,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2257,
"end": 2261,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2260,
"end": 2261,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2260,
"end": 2261,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2266,
"end": 2273,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2269,
"end": 2273,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2267,
"end": 2268,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2267,
"end": 2268,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2238,
"end": 2244,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2239,
"end": 2240,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2239,
"end": 2240,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2242,
"end": 2243,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2242,
"end": 2243,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2275,
"end": 2296,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2279,
"end": 2295,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2279,
"end": 2281,
"ctxt": 0
},
"value": "r5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2284,
"end": 2295,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2284,
"end": 2288,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2289,
"end": 2294,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2297,
"end": 2323,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2301,
"end": 2322,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2301,
"end": 2304,
"ctxt": 0
},
"value": "r5a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2307,
"end": 2322,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2308,
"end": 2313,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2315,
"end": 2321,
"ctxt": 0
},
"value": "r5arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2324,
"end": 2350,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2328,
"end": 2349,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2328,
"end": 2331,
"ctxt": 0
},
"value": "r5b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2334,
"end": 2349,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2335,
"end": 2341,
"ctxt": 0
},
"value": "r5arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2343,
"end": 2348,
"ctxt": 0
},
"value": "r5arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2352,
"end": 2429,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2356,
"end": 2428,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2356,
"end": 2361,
"ctxt": 0
},
"value": "r6arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2364,
"end": 2428,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2400,
"end": 2416,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2401,
"end": 2416,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2403,
"end": 2416,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2404,
"end": 2410,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2407,
"end": 2410,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2409,
"end": 2410,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2409,
"end": 2410,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2412,
"end": 2416,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2415,
"end": 2416,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2415,
"end": 2416,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2421,
"end": 2428,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2424,
"end": 2428,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2422,
"end": 2423,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2422,
"end": 2423,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2364,
"end": 2399,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2365,
"end": 2379,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2365,
"end": 2366,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2375,
"end": 2379,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2375,
"end": 2379,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2381,
"end": 2398,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2381,
"end": 2382,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2391,
"end": 2398,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2391,
"end": 2398,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2430,
"end": 2495,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2434,
"end": 2494,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2434,
"end": 2440,
"ctxt": 0
},
"value": "r6arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2443,
"end": 2494,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2460,
"end": 2482,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2461,
"end": 2482,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2463,
"end": 2482,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2464,
"end": 2470,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2467,
"end": 2470,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2469,
"end": 2470,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2469,
"end": 2470,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2472,
"end": 2482,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2475,
"end": 2482,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2475,
"end": 2482,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2487,
"end": 2494,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2490,
"end": 2494,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2488,
"end": 2489,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2488,
"end": 2489,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2443,
"end": 2459,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2444,
"end": 2458,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2444,
"end": 2445,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2454,
"end": 2458,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2454,
"end": 2458,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2496,
"end": 2517,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2500,
"end": 2516,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2500,
"end": 2502,
"ctxt": 0
},
"value": "r6",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2505,
"end": 2516,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2505,
"end": 2509,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2510,
"end": 2515,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2518,
"end": 2544,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2522,
"end": 2543,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2522,
"end": 2525,
"ctxt": 0
},
"value": "r6a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2528,
"end": 2543,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2529,
"end": 2534,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2536,
"end": 2542,
"ctxt": 0
},
"value": "r6arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2545,
"end": 2571,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2549,
"end": 2570,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2549,
"end": 2552,
"ctxt": 0
},
"value": "r6b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2555,
"end": 2570,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2556,
"end": 2562,
"ctxt": 0
},
"value": "r6arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2564,
"end": 2569,
"ctxt": 0
},
"value": "r6arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2573,
"end": 2645,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2577,
"end": 2644,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2577,
"end": 2583,
"ctxt": 0
},
"value": "r11arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2586,
"end": 2644,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2593,
"end": 2606,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2594,
"end": 2606,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2596,
"end": 2606,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2598,
"end": 2604,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2598,
"end": 2601,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2601,
"end": 2604,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2603,
"end": 2604,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2603,
"end": 2604,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 2608,
"end": 2629,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2609,
"end": 2629,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2611,
"end": 2629,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2613,
"end": 2620,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2613,
"end": 2616,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2616,
"end": 2619,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2618,
"end": 2619,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2618,
"end": 2619,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2621,
"end": 2627,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2621,
"end": 2624,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2624,
"end": 2627,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2626,
"end": 2627,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2626,
"end": 2627,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2634,
"end": 2644,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2640,
"end": 2644,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2635,
"end": 2639,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2635,
"end": 2639,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2586,
"end": 2592,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2587,
"end": 2588,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2587,
"end": 2588,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2590,
"end": 2591,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2590,
"end": 2591,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2646,
"end": 2716,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2650,
"end": 2715,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2650,
"end": 2657,
"ctxt": 0
},
"value": "r11arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2660,
"end": 2715,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2664,
"end": 2677,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2665,
"end": 2677,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2667,
"end": 2677,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2669,
"end": 2675,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2669,
"end": 2672,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2672,
"end": 2675,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2674,
"end": 2675,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2674,
"end": 2675,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 2679,
"end": 2700,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2680,
"end": 2700,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2682,
"end": 2700,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2684,
"end": 2691,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2684,
"end": 2687,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2687,
"end": 2690,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2689,
"end": 2690,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2689,
"end": 2690,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2692,
"end": 2698,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2692,
"end": 2695,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2695,
"end": 2698,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2697,
"end": 2698,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2697,
"end": 2698,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2705,
"end": 2715,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2711,
"end": 2715,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2706,
"end": 2710,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2706,
"end": 2710,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2660,
"end": 2663,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2661,
"end": 2662,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2661,
"end": 2662,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2717,
"end": 2741,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2721,
"end": 2740,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2721,
"end": 2724,
"ctxt": 0
},
"value": "r11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2727,
"end": 2740,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2727,
"end": 2732,
"ctxt": 0
},
"value": "foo11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2733,
"end": 2739,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2742,
"end": 2771,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2746,
"end": 2770,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2746,
"end": 2750,
"ctxt": 0
},
"value": "r11a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2753,
"end": 2770,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2754,
"end": 2760,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2762,
"end": 2769,
"ctxt": 0
},
"value": "r11arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2772,
"end": 2801,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2776,
"end": 2800,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2776,
"end": 2780,
"ctxt": 0
},
"value": "r11b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2783,
"end": 2800,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2784,
"end": 2791,
"ctxt": 0
},
"value": "r11arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2793,
"end": 2799,
"ctxt": 0
},
"value": "r11arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2803,
"end": 2856,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2807,
"end": 2855,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2807,
"end": 2813,
"ctxt": 0
},
"value": "r15arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2816,
"end": 2855,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2823,
"end": 2841,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2824,
"end": 2841,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2826,
"end": 2841,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2828,
"end": 2833,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2828,
"end": 2829,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2829,
"end": 2832,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2831,
"end": 2832,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2831,
"end": 2832,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2834,
"end": 2839,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2834,
"end": 2835,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2835,
"end": 2838,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2837,
"end": 2838,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2837,
"end": 2838,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2846,
"end": 2855,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2851,
"end": 2855,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2847,
"end": 2850,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2847,
"end": 2848,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2847,
"end": 2848,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2816,
"end": 2822,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2817,
"end": 2818,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2817,
"end": 2818,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2820,
"end": 2821,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2820,
"end": 2821,
"ctxt": 0
},
"value": "V",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2857,
"end": 2907,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2861,
"end": 2906,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2861,
"end": 2868,
"ctxt": 0
},
"value": "r15arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2871,
"end": 2906,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2875,
"end": 2892,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2876,
"end": 2892,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2878,
"end": 2892,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2880,
"end": 2885,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2880,
"end": 2881,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2881,
"end": 2884,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2883,
"end": 2884,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2883,
"end": 2884,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2886,
"end": 2890,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2886,
"end": 2887,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2887,
"end": 2890,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2889,
"end": 2890,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2889,
"end": 2890,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 2897,
"end": 2906,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 2902,
"end": 2906,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2898,
"end": 2901,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2898,
"end": 2899,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2898,
"end": 2899,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2871,
"end": 2874,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2872,
"end": 2873,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2872,
"end": 2873,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2908,
"end": 2932,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2912,
"end": 2931,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2912,
"end": 2915,
"ctxt": 0
},
"value": "r15",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 2918,
"end": 2931,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2918,
"end": 2923,
"ctxt": 0
},
"value": "foo15",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2924,
"end": 2930,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2933,
"end": 2962,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2937,
"end": 2961,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2937,
"end": 2941,
"ctxt": 0
},
"value": "r15a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2944,
"end": 2961,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2945,
"end": 2951,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2953,
"end": 2960,
"ctxt": 0
},
"value": "r15arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2963,
"end": 2992,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2967,
"end": 2991,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2967,
"end": 2971,
"ctxt": 0
},
"value": "r15b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2974,
"end": 2991,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2975,
"end": 2982,
"ctxt": 0
},
"value": "r15arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2984,
"end": 2990,
"ctxt": 0
},
"value": "r15arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2994,
"end": 3056,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2998,
"end": 3055,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2998,
"end": 3004,
"ctxt": 0
},
"value": "r16arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3007,
"end": 3055,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3024,
"end": 3041,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3025,
"end": 3041,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3027,
"end": 3041,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3029,
"end": 3034,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3029,
"end": 3030,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3030,
"end": 3033,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3032,
"end": 3033,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3032,
"end": 3033,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3035,
"end": 3039,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3035,
"end": 3036,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3036,
"end": 3039,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3038,
"end": 3039,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3038,
"end": 3039,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 3046,
"end": 3055,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3051,
"end": 3055,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3047,
"end": 3050,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3047,
"end": 3048,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3047,
"end": 3048,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3007,
"end": 3023,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3008,
"end": 3022,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3008,
"end": 3009,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3018,
"end": 3022,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3018,
"end": 3022,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3057,
"end": 3120,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3061,
"end": 3119,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3061,
"end": 3068,
"ctxt": 0
},
"value": "r16arg2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3071,
"end": 3119,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3088,
"end": 3105,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3089,
"end": 3105,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3091,
"end": 3105,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3093,
"end": 3098,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3093,
"end": 3094,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3094,
"end": 3097,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3096,
"end": 3097,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3096,
"end": 3097,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3099,
"end": 3103,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3099,
"end": 3100,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3100,
"end": 3103,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3102,
"end": 3103,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3102,
"end": 3103,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 3110,
"end": 3119,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3115,
"end": 3119,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3111,
"end": 3114,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3111,
"end": 3112,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3111,
"end": 3112,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3071,
"end": 3087,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3072,
"end": 3086,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3072,
"end": 3073,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3082,
"end": 3086,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3082,
"end": 3086,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3121,
"end": 3145,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3125,
"end": 3144,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3125,
"end": 3128,
"ctxt": 0
},
"value": "r16",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3131,
"end": 3144,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3131,
"end": 3136,
"ctxt": 0
},
"value": "foo16",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3137,
"end": 3143,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3146,
"end": 3175,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3150,
"end": 3174,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3150,
"end": 3154,
"ctxt": 0
},
"value": "r16a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3157,
"end": 3174,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3158,
"end": 3164,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3166,
"end": 3173,
"ctxt": 0
},
"value": "r16arg2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3176,
"end": 3205,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3180,
"end": 3204,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3180,
"end": 3184,
"ctxt": 0
},
"value": "r16b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 3187,
"end": 3204,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3188,
"end": 3195,
"ctxt": 0
},
"value": "r16arg2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3197,
"end": 3203,
"ctxt": 0
},
"value": "r16arg",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3207,
"end": 3253,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3211,
"end": 3252,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3211,
"end": 3217,
"ctxt": 0
},
"value": "r17arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3220,
"end": 3252,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3224,
"end": 3238,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3225,
"end": 3238,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3227,
"end": 3238,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3228,
"end": 3232,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3229,
"end": 3232,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3231,
"end": 3232,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3231,
"end": 3232,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3234,
"end": 3238,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3237,
"end": 3238,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3237,
"end": 3238,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 3243,
"end": 3252,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3248,
"end": 3252,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3244,
"end": 3247,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3244,
"end": 3245,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3244,
"end": 3245,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"async": false,
"generator": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3220,
"end": 3223,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3221,
"end": 3222,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3221,
"end": 3222,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3254,
"end": 3278,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3258,
"end": 3277,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3258,
"end": 3261,
"ctxt": 0
},
"value": "r17",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3264,
"end": 3277,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3264,
"end": 3269,
"ctxt": 0
},
"value": "foo17",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3270,
"end": 3276,
"ctxt": 0
},
"value": "r17arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3280,
"end": 3328,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3284,
"end": 3327,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3284,
"end": 3290,
"ctxt": 0
},
"value": "r18arg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3293,
"end": 3327,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3294,
"end": 3311,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3295,
"end": 3311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3297,
"end": 3311,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3301,
"end": 3305,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3302,
"end": 3305,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3304,
"end": 3305,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3304,
"end": 3305,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3297,
"end": 3300,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3298,
"end": 3299,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3298,
"end": 3299,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3307,
"end": 3311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3310,
"end": 3311,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3310,
"end": 3311,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"body": {
"type": "TsTypeAssertion",
"span": {
"start": 3316,
"end": 3327,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3323,
"end": 3327,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3317,
"end": 3322,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3317,
"end": 3320,
"ctxt": 0
},
"kind": "any"
}
}
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3329,
"end": 3353,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3333,
"end": 3352,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3333,
"end": 3336,
"ctxt": 0
},
"value": "r18",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 3339,
"end": 3352,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3339,
"end": 3344,
"ctxt": 0
},
"value": "foo18",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 3345,
"end": 3351,
"ctxt": 0
},
"value": "r18arg",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
}
],
"interpreter": null
}