{ "type": "Script", "span": { "start": 91, "end": 780, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 108, "end": 110, "ctxt": 0 }, "value": "f1", "optional": false }, "declare": true, "params": [ { "type": "Parameter", "span": { "start": 111, "end": 118, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 111, "end": 118, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 112, "end": 118, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 114, "end": 118, "ctxt": 0 }, "kind": "void" } } } } ], "decorators": [], "span": { "start": 91, "end": 126, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 119, "end": 125, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 121, "end": 125, "ctxt": 0 }, "kind": "void" } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 144, "end": 146, "ctxt": 0 }, "value": "f2", "optional": false }, "declare": true, "params": [ { "type": "Parameter", "span": { "start": 147, "end": 159, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 147, "end": 159, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 148, "end": 159, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 150, "end": 159, "ctxt": 0 }, "kind": "undefined" } } } } ], "decorators": [], "span": { "start": 127, "end": 167, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 160, "end": 166, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 162, "end": 166, "ctxt": 0 }, "kind": "void" } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 185, "end": 187, "ctxt": 0 }, "value": "f3", "optional": false }, "declare": true, "params": [ { "type": "Parameter", "span": { "start": 188, "end": 198, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 188, "end": 198, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 189, "end": 198, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 191, "end": 198, "ctxt": 0 }, "kind": "unknown" } } } } ], "decorators": [], "span": { "start": 168, "end": 206, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 199, "end": 205, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 201, "end": 205, "ctxt": 0 }, "kind": "void" } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 224, "end": 226, "ctxt": 0 }, "value": "f4", "optional": false }, "declare": true, "params": [ { "type": "Parameter", "span": { "start": 227, "end": 233, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 227, "end": 233, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 228, "end": 233, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 230, "end": 233, "ctxt": 0 }, "kind": "any" } } } } ], "decorators": [], "span": { "start": 207, "end": 241, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 234, "end": 240, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 236, "end": 240, "ctxt": 0 }, "kind": "void" } } }, { "type": "TsInterfaceDeclaration", "span": { "start": 243, "end": 276, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 253, "end": 254, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 254, "end": 257, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 255, "end": 256, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 255, "end": 256, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 258, "end": 276, "ctxt": 0 }, "body": [ { "type": "TsMethodSignature", "span": { "start": 260, "end": 274, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 260, "end": 261, "ctxt": 0 }, "value": "m", "optional": false }, "computed": false, "optional": false, "params": [ { "type": "Identifier", "span": { "start": 262, "end": 266, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 263, "end": 266, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 265, "end": 266, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 265, "end": 266, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } ], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 267, "end": 273, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 269, "end": 273, "ctxt": 0 }, "kind": "void" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 277, "end": 303, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 291, "end": 302, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 291, "end": 293, "ctxt": 0 }, "value": "o1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 293, "end": 302, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 295, "end": 302, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 295, "end": 296, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 296, "end": 302, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 297, "end": 301, "ctxt": 0 }, "kind": "void" } ] } } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 304, "end": 335, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 318, "end": 334, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 318, "end": 320, "ctxt": 0 }, "value": "o2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 320, "end": 334, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 322, "end": 334, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 322, "end": 323, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 323, "end": 334, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 324, "end": 333, "ctxt": 0 }, "kind": "undefined" } ] } } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 336, "end": 365, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 350, "end": 364, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 350, "end": 352, "ctxt": 0 }, "value": "o3", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 352, "end": 364, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 354, "end": 364, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 354, "end": 355, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 355, "end": 364, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 356, "end": 363, "ctxt": 0 }, "kind": "unknown" } ] } } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 366, "end": 391, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 380, "end": 390, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 380, "end": 382, "ctxt": 0 }, "value": "o4", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 382, "end": 390, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 384, "end": 390, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 384, "end": 385, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 385, "end": 390, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 386, "end": 389, "ctxt": 0 }, "kind": "any" } ] } } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 472, "end": 477, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 472, "end": 476, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 472, "end": 474, "ctxt": 0 }, "value": "f1", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 478, "end": 485, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 478, "end": 484, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 478, "end": 482, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 478, "end": 480, "ctxt": 0 }, "value": "o1", "optional": false }, "property": { "type": "Identifier", "span": { "start": 481, "end": 482, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 575, "end": 580, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 575, "end": 579, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 575, "end": 577, "ctxt": 0 }, "value": "f2", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 581, "end": 586, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 581, "end": 585, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 581, "end": 583, "ctxt": 0 }, "value": "f3", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 587, "end": 592, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 587, "end": 591, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 587, "end": 589, "ctxt": 0 }, "value": "f4", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 594, "end": 601, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 594, "end": 600, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 594, "end": 598, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 594, "end": 596, "ctxt": 0 }, "value": "o2", "optional": false }, "property": { "type": "Identifier", "span": { "start": 597, "end": 598, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 602, "end": 609, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 602, "end": 608, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 602, "end": 606, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 602, "end": 604, "ctxt": 0 }, "value": "o3", "optional": false }, "property": { "type": "Identifier", "span": { "start": 605, "end": 606, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 610, "end": 617, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 610, "end": 616, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 610, "end": 614, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 610, "end": 612, "ctxt": 0 }, "value": "o4", "optional": false }, "property": { "type": "Identifier", "span": { "start": 613, "end": 614, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 698, "end": 703, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 698, "end": 702, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 698, "end": 700, "ctxt": 0 }, "value": "f1", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 704, "end": 711, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 704, "end": 710, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 704, "end": 708, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 704, "end": 706, "ctxt": 0 }, "value": "o1", "optional": false }, "property": { "type": "Identifier", "span": { "start": 707, "end": 708, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 738, "end": 743, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 738, "end": 742, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 738, "end": 740, "ctxt": 0 }, "value": "f2", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 744, "end": 749, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 744, "end": 748, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 744, "end": 746, "ctxt": 0 }, "value": "f3", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 750, "end": 755, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 750, "end": 754, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 750, "end": 752, "ctxt": 0 }, "value": "f4", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 757, "end": 764, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 757, "end": 763, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 757, "end": 761, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 757, "end": 759, "ctxt": 0 }, "value": "o2", "optional": false }, "property": { "type": "Identifier", "span": { "start": 760, "end": 761, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 765, "end": 772, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 765, "end": 771, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 765, "end": 769, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 765, "end": 767, "ctxt": 0 }, "value": "o3", "optional": false }, "property": { "type": "Identifier", "span": { "start": 768, "end": 769, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 773, "end": 780, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 773, "end": 779, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 773, "end": 777, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 773, "end": 775, "ctxt": 0 }, "value": "o4", "optional": false }, "property": { "type": "Identifier", "span": { "start": 776, "end": 777, "ctxt": 0 }, "value": "m", "optional": false } }, "arguments": [], "typeArguments": null } } ], "interpreter": null }