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

7461 lines
196 KiB
JSON

{
"type": "Script",
"span": {
"start": 41,
"end": 2646,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 41,
"end": 90,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 55,
"end": 89,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 55,
"end": 57,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 57,
"end": 89,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 59,
"end": 89,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 60,
"end": 66,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 60,
"end": 66,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 68,
"end": 74,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 68,
"end": 74,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 76,
"end": 88,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 76,
"end": 88,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 79,
"end": 88,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 79,
"end": 86,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 91,
"end": 132,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 105,
"end": 131,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 105,
"end": 107,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 107,
"end": 131,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 109,
"end": 131,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 110,
"end": 116,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 110,
"end": 116,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 118,
"end": 130,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 118,
"end": 130,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 121,
"end": 130,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 121,
"end": 128,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 133,
"end": 166,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 147,
"end": 165,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 147,
"end": 149,
"ctxt": 0
},
"value": "t3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 149,
"end": 165,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 151,
"end": 165,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 152,
"end": 164,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 152,
"end": 164,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 155,
"end": 164,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 155,
"end": 162,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 167,
"end": 188,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 181,
"end": 187,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 181,
"end": 183,
"ctxt": 0
},
"value": "t4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 183,
"end": 187,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 185,
"end": 187,
"ctxt": 0
},
"elemTypes": []
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 190,
"end": 249,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 202,
"end": 248,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 202,
"end": 205,
"ctxt": 0
},
"value": "f00",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 205,
"end": 248,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 207,
"end": 248,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 208,
"end": 239,
"ctxt": 0
},
"rest": {
"start": 208,
"end": 211,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 211,
"end": 212,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 212,
"end": 239,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 214,
"end": 239,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 215,
"end": 221,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 215,
"end": 221,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 223,
"end": 229,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 223,
"end": 229,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 231,
"end": 238,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 231,
"end": 238,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 241,
"end": 248,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 244,
"end": 248,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 250,
"end": 312,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 262,
"end": 311,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 262,
"end": 265,
"ctxt": 0
},
"value": "f01",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 265,
"end": 311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 267,
"end": 311,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 268,
"end": 277,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 269,
"end": 277,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 271,
"end": 277,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "RestElement",
"span": {
"start": 279,
"end": 302,
"ctxt": 0
},
"rest": {
"start": 279,
"end": 282,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 282,
"end": 283,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 283,
"end": 302,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 285,
"end": 302,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 286,
"end": 292,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 286,
"end": 292,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 294,
"end": 301,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 294,
"end": 301,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 304,
"end": 311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 307,
"end": 311,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 313,
"end": 378,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 325,
"end": 377,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 325,
"end": 328,
"ctxt": 0
},
"value": "f02",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 328,
"end": 377,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 330,
"end": 377,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 331,
"end": 340,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 332,
"end": 340,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 334,
"end": 340,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 342,
"end": 351,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 343,
"end": 351,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 345,
"end": 351,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "RestElement",
"span": {
"start": 353,
"end": 368,
"ctxt": 0
},
"rest": {
"start": 353,
"end": 356,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 356,
"end": 357,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 357,
"end": 368,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 359,
"end": 368,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 360,
"end": 367,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 360,
"end": 367,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 370,
"end": 377,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 373,
"end": 377,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 379,
"end": 439,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 391,
"end": 438,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 391,
"end": 394,
"ctxt": 0
},
"value": "f03",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 394,
"end": 438,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 396,
"end": 438,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 397,
"end": 406,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 398,
"end": 406,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 400,
"end": 406,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 408,
"end": 417,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 409,
"end": 417,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 411,
"end": 417,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "Identifier",
"span": {
"start": 419,
"end": 429,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 420,
"end": 429,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 422,
"end": 429,
"ctxt": 0
},
"kind": "boolean"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 431,
"end": 438,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 434,
"end": 438,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 440,
"end": 510,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 452,
"end": 509,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 452,
"end": 455,
"ctxt": 0
},
"value": "f04",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 455,
"end": 509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 457,
"end": 509,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 458,
"end": 467,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 459,
"end": 467,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 461,
"end": 467,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 469,
"end": 478,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 470,
"end": 478,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 472,
"end": 478,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "Identifier",
"span": {
"start": 480,
"end": 490,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 481,
"end": 490,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 483,
"end": 490,
"ctxt": 0
},
"kind": "boolean"
}
}
},
{
"type": "RestElement",
"span": {
"start": 492,
"end": 500,
"ctxt": 0
},
"rest": {
"start": 492,
"end": 495,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 495,
"end": 496,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 496,
"end": 500,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 498,
"end": 500,
"ctxt": 0
},
"elemTypes": []
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 502,
"end": 509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 505,
"end": 509,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 512,
"end": 576,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 524,
"end": 575,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 524,
"end": 527,
"ctxt": 0
},
"value": "f10",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 527,
"end": 575,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 529,
"end": 575,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 530,
"end": 566,
"ctxt": 0
},
"rest": {
"start": 530,
"end": 533,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 533,
"end": 534,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 534,
"end": 566,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 536,
"end": 566,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 537,
"end": 543,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 537,
"end": 543,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 545,
"end": 551,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 545,
"end": 551,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 553,
"end": 565,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 553,
"end": 565,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 556,
"end": 565,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 556,
"end": 563,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 568,
"end": 575,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 571,
"end": 575,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 577,
"end": 644,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 589,
"end": 643,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 589,
"end": 592,
"ctxt": 0
},
"value": "f11",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 592,
"end": 643,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 594,
"end": 643,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 595,
"end": 604,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 596,
"end": 604,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 598,
"end": 604,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "RestElement",
"span": {
"start": 606,
"end": 634,
"ctxt": 0
},
"rest": {
"start": 606,
"end": 609,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 609,
"end": 610,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 610,
"end": 634,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 612,
"end": 634,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 613,
"end": 619,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 613,
"end": 619,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 621,
"end": 633,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 621,
"end": 633,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 624,
"end": 633,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 624,
"end": 631,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 636,
"end": 643,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 639,
"end": 643,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 645,
"end": 715,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 657,
"end": 714,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 657,
"end": 660,
"ctxt": 0
},
"value": "f12",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 660,
"end": 714,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 662,
"end": 714,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 663,
"end": 672,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 664,
"end": 672,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 666,
"end": 672,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 674,
"end": 683,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 675,
"end": 683,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 677,
"end": 683,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "RestElement",
"span": {
"start": 685,
"end": 705,
"ctxt": 0
},
"rest": {
"start": 685,
"end": 688,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 688,
"end": 689,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 689,
"end": 705,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 691,
"end": 705,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 692,
"end": 704,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 692,
"end": 704,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 695,
"end": 704,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 695,
"end": 702,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 707,
"end": 714,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 710,
"end": 714,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 716,
"end": 781,
"ctxt": 0
},
"kind": "let",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 728,
"end": 780,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 728,
"end": 731,
"ctxt": 0
},
"value": "f13",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 731,
"end": 780,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 733,
"end": 780,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 734,
"end": 743,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 735,
"end": 743,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 737,
"end": 743,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 745,
"end": 754,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 746,
"end": 754,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 748,
"end": 754,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "RestElement",
"span": {
"start": 756,
"end": 771,
"ctxt": 0
},
"rest": {
"start": 756,
"end": 759,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 759,
"end": 760,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 760,
"end": 771,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 762,
"end": 771,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 762,
"end": 769,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 773,
"end": 780,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 776,
"end": 780,
"ctxt": 0
},
"kind": "void"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 783,
"end": 818,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 797,
"end": 817,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 797,
"end": 799,
"ctxt": 0
},
"value": "ns",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 799,
"end": 817,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 801,
"end": 817,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 802,
"end": 808,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 802,
"end": 808,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 810,
"end": 816,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 810,
"end": 816,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 819,
"end": 854,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 833,
"end": 853,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 833,
"end": 835,
"ctxt": 0
},
"value": "sn",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 835,
"end": 853,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 837,
"end": 853,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 838,
"end": 844,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 838,
"end": 844,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 846,
"end": 852,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 846,
"end": 852,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 856,
"end": 873,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 856,
"end": 872,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 856,
"end": 859,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 860,
"end": 862,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 864,
"end": 871,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 874,
"end": 897,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 874,
"end": 896,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 874,
"end": 877,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 878,
"end": 880,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 882,
"end": 889,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 891,
"end": 895,
"ctxt": 0
},
"value": true
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 898,
"end": 928,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 898,
"end": 927,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 898,
"end": 901,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 902,
"end": 904,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 906,
"end": 913,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 915,
"end": 919,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 921,
"end": 926,
"ctxt": 0
},
"value": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 929,
"end": 961,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 929,
"end": 960,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 929,
"end": 932,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 933,
"end": 938,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 933,
"end": 935,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 935,
"end": 938,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 936,
"end": 937,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 940,
"end": 945,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 940,
"end": 942,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 942,
"end": 945,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 943,
"end": 944,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 947,
"end": 952,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 947,
"end": 949,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 949,
"end": 952,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 950,
"end": 951,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 954,
"end": 959,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 954,
"end": 956,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 956,
"end": 959,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 957,
"end": 958,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 962,
"end": 973,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 962,
"end": 972,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 962,
"end": 965,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": {
"start": 966,
"end": 969,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 969,
"end": 971,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 974,
"end": 989,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 974,
"end": 988,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 974,
"end": 977,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 978,
"end": 980,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": {
"start": 982,
"end": 985,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 985,
"end": 987,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 990,
"end": 1014,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 990,
"end": 1013,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 990,
"end": 993,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 994,
"end": 996,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 998,
"end": 1005,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": {
"start": 1007,
"end": 1010,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1010,
"end": 1012,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1015,
"end": 1045,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1015,
"end": 1044,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1015,
"end": 1018,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1019,
"end": 1021,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1023,
"end": 1030,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1032,
"end": 1036,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 1038,
"end": 1041,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1041,
"end": 1043,
"ctxt": 0
},
"value": "t4",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1046,
"end": 1090,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1046,
"end": 1089,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1046,
"end": 1049,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1050,
"end": 1052,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1054,
"end": 1061,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1063,
"end": 1067,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 1069,
"end": 1072,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1072,
"end": 1074,
"ctxt": 0
},
"value": "t4",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1076,
"end": 1081,
"ctxt": 0
},
"value": false
}
},
{
"spread": {
"start": 1083,
"end": 1086,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1086,
"end": 1088,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1092,
"end": 1109,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1092,
"end": 1108,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1092,
"end": 1095,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1096,
"end": 1098,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1100,
"end": 1107,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1110,
"end": 1133,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1110,
"end": 1132,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1110,
"end": 1113,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1114,
"end": 1116,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1118,
"end": 1125,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1127,
"end": 1131,
"ctxt": 0
},
"value": true
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1134,
"end": 1164,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1134,
"end": 1163,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1134,
"end": 1137,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1138,
"end": 1140,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1142,
"end": 1149,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1151,
"end": 1155,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1157,
"end": 1162,
"ctxt": 0
},
"value": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1165,
"end": 1197,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1165,
"end": 1196,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1165,
"end": 1168,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1169,
"end": 1174,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1169,
"end": 1171,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1171,
"end": 1174,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1172,
"end": 1173,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1176,
"end": 1181,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1176,
"end": 1178,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1178,
"end": 1181,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1179,
"end": 1180,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1183,
"end": 1188,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1183,
"end": 1185,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1185,
"end": 1188,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1186,
"end": 1187,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1190,
"end": 1195,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1190,
"end": 1192,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1192,
"end": 1195,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1193,
"end": 1194,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1198,
"end": 1209,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1198,
"end": 1208,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1198,
"end": 1201,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1202,
"end": 1205,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1205,
"end": 1207,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1210,
"end": 1225,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1210,
"end": 1224,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1210,
"end": 1213,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1214,
"end": 1216,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": {
"start": 1218,
"end": 1221,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1221,
"end": 1223,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1226,
"end": 1250,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1226,
"end": 1249,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1226,
"end": 1229,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1230,
"end": 1232,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1234,
"end": 1241,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": {
"start": 1243,
"end": 1246,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1246,
"end": 1248,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1251,
"end": 1281,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1251,
"end": 1280,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1251,
"end": 1254,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1255,
"end": 1257,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1259,
"end": 1266,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1268,
"end": 1272,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 1274,
"end": 1277,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1277,
"end": 1279,
"ctxt": 0
},
"value": "t4",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1282,
"end": 1326,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1282,
"end": 1325,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1282,
"end": 1285,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1286,
"end": 1288,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1290,
"end": 1297,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1299,
"end": 1303,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 1305,
"end": 1308,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1308,
"end": 1310,
"ctxt": 0
},
"value": "t4",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1312,
"end": 1317,
"ctxt": 0
},
"value": false
}
},
{
"spread": {
"start": 1319,
"end": 1322,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1322,
"end": 1324,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1328,
"end": 1345,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1328,
"end": 1344,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1328,
"end": 1331,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1332,
"end": 1334,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1336,
"end": 1343,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1346,
"end": 1369,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1346,
"end": 1368,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1346,
"end": 1349,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1350,
"end": 1352,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1354,
"end": 1361,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1363,
"end": 1367,
"ctxt": 0
},
"value": true
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1370,
"end": 1400,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1370,
"end": 1399,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1370,
"end": 1373,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1374,
"end": 1376,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1378,
"end": 1385,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1387,
"end": 1391,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1393,
"end": 1398,
"ctxt": 0
},
"value": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1401,
"end": 1433,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1401,
"end": 1432,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1401,
"end": 1404,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1405,
"end": 1410,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1405,
"end": 1407,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1407,
"end": 1410,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1408,
"end": 1409,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1412,
"end": 1417,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1412,
"end": 1414,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1414,
"end": 1417,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1415,
"end": 1416,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1419,
"end": 1424,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1419,
"end": 1421,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1421,
"end": 1424,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1422,
"end": 1423,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1426,
"end": 1431,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1426,
"end": 1428,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1428,
"end": 1431,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1429,
"end": 1430,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1434,
"end": 1445,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1434,
"end": 1444,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1434,
"end": 1437,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1438,
"end": 1441,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1441,
"end": 1443,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1446,
"end": 1461,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1446,
"end": 1460,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1446,
"end": 1449,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1450,
"end": 1452,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": {
"start": 1454,
"end": 1457,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1457,
"end": 1459,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1462,
"end": 1486,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1462,
"end": 1485,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1462,
"end": 1465,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1466,
"end": 1468,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1470,
"end": 1477,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": {
"start": 1479,
"end": 1482,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1482,
"end": 1484,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1487,
"end": 1517,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1487,
"end": 1516,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1487,
"end": 1490,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1491,
"end": 1493,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1495,
"end": 1502,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1504,
"end": 1508,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 1510,
"end": 1513,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1513,
"end": 1515,
"ctxt": 0
},
"value": "t4",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1518,
"end": 1562,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1518,
"end": 1561,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1518,
"end": 1521,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1522,
"end": 1524,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1526,
"end": 1533,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1535,
"end": 1539,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 1541,
"end": 1544,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1544,
"end": 1546,
"ctxt": 0
},
"value": "t4",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1548,
"end": 1553,
"ctxt": 0
},
"value": false
}
},
{
"spread": {
"start": 1555,
"end": 1558,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1558,
"end": 1560,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1564,
"end": 1581,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1564,
"end": 1580,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1564,
"end": 1567,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1568,
"end": 1570,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1572,
"end": 1579,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1582,
"end": 1605,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1582,
"end": 1604,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1582,
"end": 1585,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1586,
"end": 1588,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1590,
"end": 1597,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1599,
"end": 1603,
"ctxt": 0
},
"value": true
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1606,
"end": 1636,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1606,
"end": 1635,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1606,
"end": 1609,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1610,
"end": 1612,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1614,
"end": 1621,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1623,
"end": 1627,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1629,
"end": 1634,
"ctxt": 0
},
"value": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1637,
"end": 1669,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1637,
"end": 1668,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1637,
"end": 1640,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1641,
"end": 1646,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1641,
"end": 1643,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1643,
"end": 1646,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1644,
"end": 1645,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1648,
"end": 1653,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1648,
"end": 1650,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1650,
"end": 1653,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1651,
"end": 1652,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1655,
"end": 1660,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1655,
"end": 1657,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1657,
"end": 1660,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1658,
"end": 1659,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1662,
"end": 1667,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1662,
"end": 1664,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1664,
"end": 1667,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1665,
"end": 1666,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1670,
"end": 1681,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1670,
"end": 1680,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1670,
"end": 1673,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1674,
"end": 1677,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1677,
"end": 1679,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1682,
"end": 1697,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1682,
"end": 1696,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1682,
"end": 1685,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1686,
"end": 1688,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": {
"start": 1690,
"end": 1693,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1693,
"end": 1695,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1698,
"end": 1722,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1698,
"end": 1721,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1698,
"end": 1701,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1702,
"end": 1704,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1706,
"end": 1713,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": {
"start": 1715,
"end": 1718,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1718,
"end": 1720,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1723,
"end": 1753,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1723,
"end": 1752,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1723,
"end": 1726,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1727,
"end": 1729,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1731,
"end": 1738,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1740,
"end": 1744,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 1746,
"end": 1749,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1749,
"end": 1751,
"ctxt": 0
},
"value": "t4",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1754,
"end": 1798,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1754,
"end": 1797,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1754,
"end": 1757,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1758,
"end": 1760,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1762,
"end": 1769,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1771,
"end": 1775,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 1777,
"end": 1780,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1780,
"end": 1782,
"ctxt": 0
},
"value": "t4",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1784,
"end": 1789,
"ctxt": 0
},
"value": false
}
},
{
"spread": {
"start": 1791,
"end": 1794,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1794,
"end": 1796,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1800,
"end": 1858,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1814,
"end": 1857,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1814,
"end": 1817,
"ctxt": 0
},
"value": "f20",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1817,
"end": 1857,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1819,
"end": 1857,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 1841,
"end": 1851,
"ctxt": 0
},
"rest": {
"start": 1841,
"end": 1844,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1844,
"end": 1848,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1848,
"end": 1851,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1850,
"end": 1851,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1850,
"end": 1851,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1819,
"end": 1840,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1820,
"end": 1839,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1820,
"end": 1821,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 1830,
"end": 1839,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1830,
"end": 1837,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1853,
"end": 1857,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1856,
"end": 1857,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1856,
"end": 1857,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1860,
"end": 1871,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1860,
"end": 1870,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1860,
"end": 1863,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1864,
"end": 1867,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1867,
"end": 1869,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1872,
"end": 1887,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1872,
"end": 1886,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1872,
"end": 1875,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1876,
"end": 1878,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": {
"start": 1880,
"end": 1883,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1883,
"end": 1885,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1888,
"end": 1912,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1888,
"end": 1911,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1888,
"end": 1891,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1892,
"end": 1894,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1896,
"end": 1903,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": {
"start": 1905,
"end": 1908,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1908,
"end": 1910,
"ctxt": 0
},
"value": "t3",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1913,
"end": 1943,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1913,
"end": 1942,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1913,
"end": 1916,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1917,
"end": 1919,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1921,
"end": 1928,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": {
"start": 1930,
"end": 1933,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1933,
"end": 1935,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1937,
"end": 1941,
"ctxt": 0
},
"value": true
}
}
],
"typeArguments": null
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 1945,
"end": 2016,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 1950,
"end": 1953,
"ctxt": 0
},
"value": "T01",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1956,
"end": 2015,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1956,
"end": 1966,
"ctxt": 0
},
"value": "Parameters",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1966,
"end": 2015,
"ctxt": 0
},
"params": [
{
"type": "TsFunctionType",
"span": {
"start": 1967,
"end": 2014,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1968,
"end": 1977,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1969,
"end": 1977,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1971,
"end": 1977,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 1979,
"end": 1988,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1980,
"end": 1988,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1982,
"end": 1988,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "RestElement",
"span": {
"start": 1990,
"end": 2005,
"ctxt": 0
},
"rest": {
"start": 1990,
"end": 1993,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1993,
"end": 1994,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1994,
"end": 2005,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1996,
"end": 2005,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1996,
"end": 2003,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2007,
"end": 2014,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2010,
"end": 2014,
"ctxt": 0
},
"kind": "void"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2017,
"end": 2090,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2022,
"end": 2025,
"ctxt": 0
},
"value": "T02",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2028,
"end": 2089,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2028,
"end": 2038,
"ctxt": 0
},
"value": "Parameters",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2038,
"end": 2089,
"ctxt": 0
},
"params": [
{
"type": "TsFunctionType",
"span": {
"start": 2039,
"end": 2088,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 2040,
"end": 2079,
"ctxt": 0
},
"rest": {
"start": 2040,
"end": 2043,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2043,
"end": 2047,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2047,
"end": 2079,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2049,
"end": 2079,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2050,
"end": 2056,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2050,
"end": 2056,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2058,
"end": 2064,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2058,
"end": 2064,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2066,
"end": 2078,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2066,
"end": 2078,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2069,
"end": 2078,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2069,
"end": 2076,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2081,
"end": 2088,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2084,
"end": 2088,
"ctxt": 0
},
"kind": "void"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2091,
"end": 2177,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2096,
"end": 2099,
"ctxt": 0
},
"value": "T03",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2102,
"end": 2176,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2102,
"end": 2123,
"ctxt": 0
},
"value": "ConstructorParameters",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2123,
"end": 2176,
"ctxt": 0
},
"params": [
{
"type": "TsConstructorType",
"span": {
"start": 2124,
"end": 2175,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2129,
"end": 2138,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2130,
"end": 2138,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2132,
"end": 2138,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 2140,
"end": 2149,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2141,
"end": 2149,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2143,
"end": 2149,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "RestElement",
"span": {
"start": 2151,
"end": 2166,
"ctxt": 0
},
"rest": {
"start": 2151,
"end": 2154,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2154,
"end": 2155,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2155,
"end": 2166,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2157,
"end": 2166,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2157,
"end": 2164,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2168,
"end": 2175,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2171,
"end": 2175,
"ctxt": 0
},
"kind": "void"
}
},
"isAbstract": false
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2178,
"end": 2266,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2183,
"end": 2186,
"ctxt": 0
},
"value": "T04",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2189,
"end": 2265,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2189,
"end": 2210,
"ctxt": 0
},
"value": "ConstructorParameters",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2210,
"end": 2265,
"ctxt": 0
},
"params": [
{
"type": "TsConstructorType",
"span": {
"start": 2211,
"end": 2264,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 2216,
"end": 2255,
"ctxt": 0
},
"rest": {
"start": 2216,
"end": 2219,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2219,
"end": 2223,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2223,
"end": 2255,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2225,
"end": 2255,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2226,
"end": 2232,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2226,
"end": 2232,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2234,
"end": 2240,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2234,
"end": 2240,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2242,
"end": 2254,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2242,
"end": 2254,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2245,
"end": 2254,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2245,
"end": 2252,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2257,
"end": 2264,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2260,
"end": 2264,
"ctxt": 0
},
"kind": "void"
}
},
"isAbstract": false
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2267,
"end": 2339,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2272,
"end": 2275,
"ctxt": 0
},
"value": "T05",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2275,
"end": 2292,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2276,
"end": 2291,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2276,
"end": 2277,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 2286,
"end": 2291,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2286,
"end": 2289,
"ctxt": 0
},
"kind": "any"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2295,
"end": 2338,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2295,
"end": 2305,
"ctxt": 0
},
"value": "Parameters",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2305,
"end": 2338,
"ctxt": 0
},
"params": [
{
"type": "TsFunctionType",
"span": {
"start": 2306,
"end": 2337,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2307,
"end": 2316,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2308,
"end": 2316,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2310,
"end": 2316,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "RestElement",
"span": {
"start": 2318,
"end": 2328,
"ctxt": 0
},
"rest": {
"start": 2318,
"end": 2321,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2321,
"end": 2325,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2325,
"end": 2328,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2327,
"end": 2328,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2327,
"end": 2328,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2330,
"end": 2337,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2333,
"end": 2337,
"ctxt": 0
},
"kind": "void"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2340,
"end": 2379,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2345,
"end": 2348,
"ctxt": 0
},
"value": "T06",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2351,
"end": 2378,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2351,
"end": 2354,
"ctxt": 0
},
"value": "T05",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2354,
"end": 2378,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 2355,
"end": 2377,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2356,
"end": 2362,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2356,
"end": 2362,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2364,
"end": 2376,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2364,
"end": 2376,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2367,
"end": 2376,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2367,
"end": 2374,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2381,
"end": 2493,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2386,
"end": 2388,
"ctxt": 0
},
"value": "P1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2388,
"end": 2408,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2389,
"end": 2407,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2389,
"end": 2390,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2399,
"end": 2407,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2399,
"end": 2407,
"ctxt": 0
},
"value": "Function",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsConditionalType",
"span": {
"start": 2411,
"end": 2492,
"ctxt": 0
},
"checkType": {
"type": "TsTypeReference",
"span": {
"start": 2411,
"end": 2412,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2411,
"end": 2412,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"extendsType": {
"type": "TsFunctionType",
"span": {
"start": 2421,
"end": 2461,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2422,
"end": 2435,
"ctxt": 0
},
"value": "head",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2426,
"end": 2435,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsInferType",
"span": {
"start": 2428,
"end": 2435,
"ctxt": 0
},
"typeParam": {
"type": "TsTypeParameter",
"span": {
"start": 2434,
"end": 2435,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2434,
"end": 2435,
"ctxt": 0
},
"value": "A",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
}
}
},
{
"type": "RestElement",
"span": {
"start": 2437,
"end": 2453,
"ctxt": 0
},
"rest": {
"start": 2437,
"end": 2440,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2440,
"end": 2444,
"ctxt": 0
},
"value": "tail",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2444,
"end": 2453,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsInferType",
"span": {
"start": 2446,
"end": 2453,
"ctxt": 0
},
"typeParam": {
"type": "TsTypeParameter",
"span": {
"start": 2452,
"end": 2453,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2452,
"end": 2453,
"ctxt": 0
},
"value": "B",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2455,
"end": 2461,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2458,
"end": 2461,
"ctxt": 0
},
"kind": "any"
}
}
},
"trueType": {
"type": "TsTypeLiteral",
"span": {
"start": 2464,
"end": 2484,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2466,
"end": 2474,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2466,
"end": 2470,
"ctxt": 0
},
"value": "head",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2470,
"end": 2473,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2472,
"end": 2473,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2472,
"end": 2473,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2475,
"end": 2482,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2475,
"end": 2479,
"ctxt": 0
},
"value": "tail",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2479,
"end": 2482,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2481,
"end": 2482,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2481,
"end": 2482,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
},
"falseType": {
"type": "TsArrayType",
"span": {
"start": 2487,
"end": 2492,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2487,
"end": 2490,
"ctxt": 0
},
"kind": "any"
}
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2495,
"end": 2558,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2500,
"end": 2503,
"ctxt": 0
},
"value": "T10",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2506,
"end": 2557,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2506,
"end": 2508,
"ctxt": 0
},
"value": "P1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2508,
"end": 2557,
"ctxt": 0
},
"params": [
{
"type": "TsFunctionType",
"span": {
"start": 2509,
"end": 2556,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2510,
"end": 2519,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2511,
"end": 2519,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2513,
"end": 2519,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 2521,
"end": 2530,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2522,
"end": 2530,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2524,
"end": 2530,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "RestElement",
"span": {
"start": 2532,
"end": 2547,
"ctxt": 0
},
"rest": {
"start": 2532,
"end": 2535,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2535,
"end": 2536,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2536,
"end": 2547,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2538,
"end": 2547,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2538,
"end": 2545,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2549,
"end": 2556,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2552,
"end": 2556,
"ctxt": 0
},
"kind": "void"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2559,
"end": 2599,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2564,
"end": 2567,
"ctxt": 0
},
"value": "T11",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2570,
"end": 2598,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2570,
"end": 2572,
"ctxt": 0
},
"value": "P1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2572,
"end": 2598,
"ctxt": 0
},
"params": [
{
"type": "TsFunctionType",
"span": {
"start": 2573,
"end": 2597,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 2574,
"end": 2588,
"ctxt": 0
},
"rest": {
"start": 2574,
"end": 2577,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2577,
"end": 2578,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2578,
"end": 2588,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2580,
"end": 2588,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2580,
"end": 2586,
"ctxt": 0
},
"kind": "number"
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2590,
"end": 2597,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2593,
"end": 2597,
"ctxt": 0
},
"kind": "void"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 2600,
"end": 2646,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 2605,
"end": 2608,
"ctxt": 0
},
"value": "T12",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2611,
"end": 2645,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2611,
"end": 2613,
"ctxt": 0
},
"value": "P1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2613,
"end": 2645,
"ctxt": 0
},
"params": [
{
"type": "TsFunctionType",
"span": {
"start": 2614,
"end": 2644,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2615,
"end": 2624,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2616,
"end": 2624,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2618,
"end": 2624,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 2626,
"end": 2635,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2627,
"end": 2635,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2629,
"end": 2635,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2637,
"end": 2644,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2640,
"end": 2644,
"ctxt": 0
},
"kind": "void"
}
}
}
]
}
}
}
],
"interpreter": null
}