{ "type": "Script", "span": { "start": 112, "end": 963, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 112, "end": 153, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 122, "end": 123, "ctxt": 0 }, "value": "T", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 124, "end": 153, "ctxt": 0 }, "body": [ { "type": "TsMethodSignature", "span": { "start": 131, "end": 150, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 131, "end": 132, "ctxt": 0 }, "value": "f", "optional": false }, "computed": false, "optional": false, "params": [ { "type": "Identifier", "span": { "start": 133, "end": 142, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 134, "end": 142, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 136, "end": 142, "ctxt": 0 }, "kind": "number" } } } ], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 143, "end": 149, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 145, "end": 149, "ctxt": 0 }, "kind": "void" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 155, "end": 164, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 159, "end": 163, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 159, "end": 160, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 160, "end": 163, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 162, "end": 163, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 162, "end": 163, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 166, "end": 196, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 170, "end": 195, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 170, "end": 171, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 171, "end": 195, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 173, "end": 195, "ctxt": 0 }, "members": [ { "type": "TsMethodSignature", "span": { "start": 175, "end": 193, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 175, "end": 176, "ctxt": 0 }, "value": "f", "optional": false }, "computed": false, "optional": false, "params": [ { "type": "Identifier", "span": { "start": 177, "end": 186, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 178, "end": 186, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 180, "end": 186, "ctxt": 0 }, "kind": "number" } } } ], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 187, "end": 193, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 189, "end": 193, "ctxt": 0 }, "kind": "void" } }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 200, "end": 206, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 200, "end": 205, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 200, "end": 201, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 204, "end": 205, "ctxt": 0 }, "value": "a", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 208, "end": 214, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 208, "end": 213, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 208, "end": 209, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 212, "end": 213, "ctxt": 0 }, "value": "t", "optional": false } } }, { "type": "TsInterfaceDeclaration", "span": { "start": 218, "end": 261, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 228, "end": 229, "ctxt": 0 }, "value": "S", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 230, "end": 261, "ctxt": 0 }, "body": [ { "type": "TsMethodSignature", "span": { "start": 237, "end": 258, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 237, "end": 238, "ctxt": 0 }, "value": "f", "optional": false }, "computed": false, "optional": false, "params": [ { "type": "Identifier", "span": { "start": 239, "end": 248, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 240, "end": 248, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 242, "end": 248, "ctxt": 0 }, "kind": "number" } } } ], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 249, "end": 257, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 251, "end": 257, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 263, "end": 272, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 267, "end": 271, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 267, "end": 268, "ctxt": 0 }, "value": "s", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 268, "end": 271, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 270, "end": 271, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 270, "end": 271, "ctxt": 0 }, "value": "S", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 274, "end": 307, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 278, "end": 306, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 278, "end": 280, "ctxt": 0 }, "value": "a2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 280, "end": 306, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 282, "end": 306, "ctxt": 0 }, "members": [ { "type": "TsMethodSignature", "span": { "start": 284, "end": 304, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 284, "end": 285, "ctxt": 0 }, "value": "f", "optional": false }, "computed": false, "optional": false, "params": [ { "type": "Identifier", "span": { "start": 286, "end": 295, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 287, "end": 295, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 289, "end": 295, "ctxt": 0 }, "kind": "number" } } } ], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 296, "end": 304, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 298, "end": 304, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 309, "end": 315, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 309, "end": 314, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 309, "end": 310, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 313, "end": 314, "ctxt": 0 }, "value": "s", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 317, "end": 324, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 317, "end": 323, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 317, "end": 318, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 321, "end": 323, "ctxt": 0 }, "value": "a2", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 326, "end": 332, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 326, "end": 331, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 326, "end": 327, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 330, "end": 331, "ctxt": 0 }, "value": "s", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 334, "end": 341, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 334, "end": 340, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 334, "end": 335, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 338, "end": 340, "ctxt": 0 }, "value": "a2", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 345, "end": 364, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 345, "end": 363, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 345, "end": 346, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 349, "end": 363, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 351, "end": 352, "ctxt": 0 }, "value": "f", "optional": false }, "value": { "type": "ArrowFunctionExpression", "span": { "start": 354, "end": 361, "ctxt": 0 }, "params": [], "body": { "type": "NumericLiteral", "span": { "start": 360, "end": 361, "ctxt": 0 }, "value": 1.0 }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ] } } }, { "type": "ExpressionStatement", "span": { "start": 366, "end": 391, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 366, "end": 390, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 366, "end": 367, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 370, "end": 390, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 372, "end": 373, "ctxt": 0 }, "value": "f", "optional": false }, "value": { "type": "ArrowFunctionExpression", "span": { "start": 375, "end": 388, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 379, "end": 382, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 380, "end": 382, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 381, "end": 382, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 381, "end": 382, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } ], "body": { "type": "NumericLiteral", "span": { "start": 387, "end": 388, "ctxt": 0 }, "value": 1.0 }, "async": false, "generator": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 375, "end": 378, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 376, "end": 377, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 376, "end": 377, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "returnType": null } } ] } } }, { "type": "ExpressionStatement", "span": { "start": 393, "end": 430, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 393, "end": 429, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 393, "end": 394, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 397, "end": 429, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 399, "end": 400, "ctxt": 0 }, "value": "f", "optional": false }, "value": { "type": "FunctionExpression", "identifier": { "type": "Identifier", "span": { "start": 411, "end": 412, "ctxt": 0 }, "value": "f", "optional": false }, "params": [], "decorators": [], "span": { "start": 402, "end": 427, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 415, "end": 427, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 417, "end": 425, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 424, "end": 425, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } ] } } }, { "type": "ExpressionStatement", "span": { "start": 432, "end": 467, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 432, "end": 467, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 432, "end": 433, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 436, "end": 467, "ctxt": 0 }, "properties": [ { "type": "MethodProperty", "key": { "type": "Identifier", "span": { "start": 438, "end": 439, "ctxt": 0 }, "value": "f", "optional": false }, "params": [ { "type": "Parameter", "span": { "start": 440, "end": 449, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 440, "end": 449, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 441, "end": 449, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 443, "end": 449, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 438, "end": 465, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 451, "end": 465, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 453, "end": 463, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 460, "end": 462, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ] } } }, { "type": "ExpressionStatement", "span": { "start": 469, "end": 487, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 469, "end": 487, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 469, "end": 470, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 473, "end": 487, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 475, "end": 476, "ctxt": 0 }, "value": "f", "optional": false }, "value": { "type": "ArrowFunctionExpression", "span": { "start": 478, "end": 485, "ctxt": 0 }, "params": [], "body": { "type": "NumericLiteral", "span": { "start": 484, "end": 485, "ctxt": 0 }, "value": 1.0 }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ] } } }, { "type": "ExpressionStatement", "span": { "start": 489, "end": 515, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 489, "end": 514, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 489, "end": 490, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 493, "end": 514, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 495, "end": 496, "ctxt": 0 }, "value": "f", "optional": false }, "value": { "type": "ArrowFunctionExpression", "span": { "start": 498, "end": 512, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 502, "end": 506, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 503, "end": 506, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 505, "end": 506, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 505, "end": 506, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } ], "body": { "type": "NumericLiteral", "span": { "start": 511, "end": 512, "ctxt": 0 }, "value": 1.0 }, "async": false, "generator": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 498, "end": 501, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 499, "end": 500, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 499, "end": 500, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "returnType": null } } ] } } }, { "type": "ExpressionStatement", "span": { "start": 517, "end": 563, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 517, "end": 563, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 517, "end": 518, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 521, "end": 563, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 523, "end": 524, "ctxt": 0 }, "value": "f", "optional": false }, "value": { "type": "FunctionExpression", "identifier": null, "params": [ { "type": "Parameter", "span": { "start": 536, "end": 545, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 536, "end": 545, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 537, "end": 545, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 539, "end": 545, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 526, "end": 561, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 547, "end": 561, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 549, "end": 559, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 556, "end": 558, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } ] } } }, { "type": "ExpressionStatement", "span": { "start": 578, "end": 590, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 578, "end": 589, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 578, "end": 579, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "ArrowFunctionExpression", "span": { "start": 582, "end": 589, "ctxt": 0 }, "params": [], "body": { "type": "NumericLiteral", "span": { "start": 588, "end": 589, "ctxt": 0 }, "value": 1.0 }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } }, { "type": "ExpressionStatement", "span": { "start": 592, "end": 631, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 592, "end": 631, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 592, "end": 593, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "FunctionExpression", "identifier": null, "params": [ { "type": "Parameter", "span": { "start": 606, "end": 615, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 606, "end": 615, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 607, "end": 615, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 609, "end": 615, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 596, "end": 631, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 617, "end": 631, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 619, "end": 629, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 626, "end": 628, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } }, { "type": "ExpressionStatement", "span": { "start": 633, "end": 645, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 633, "end": 644, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 633, "end": 634, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "ArrowFunctionExpression", "span": { "start": 637, "end": 644, "ctxt": 0 }, "params": [], "body": { "type": "NumericLiteral", "span": { "start": 643, "end": 644, "ctxt": 0 }, "value": 1.0 }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } }, { "type": "ExpressionStatement", "span": { "start": 647, "end": 686, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 647, "end": 686, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 647, "end": 648, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "FunctionExpression", "identifier": null, "params": [ { "type": "Parameter", "span": { "start": 661, "end": 670, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 661, "end": 670, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 662, "end": 670, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 664, "end": 670, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 651, "end": 686, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 672, "end": 686, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 674, "end": 684, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 681, "end": 683, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } }, { "type": "TsInterfaceDeclaration", "span": { "start": 690, "end": 732, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 700, "end": 702, "ctxt": 0 }, "value": "S2", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 703, "end": 732, "ctxt": 0 }, "body": [ { "type": "TsMethodSignature", "span": { "start": 710, "end": 729, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 710, "end": 711, "ctxt": 0 }, "value": "f", "optional": false }, "computed": false, "optional": false, "params": [ { "type": "Identifier", "span": { "start": 712, "end": 721, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 713, "end": 721, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 715, "end": 721, "ctxt": 0 }, "kind": "string" } } } ], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 722, "end": 728, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 724, "end": 728, "ctxt": 0 }, "kind": "void" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 734, "end": 745, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 738, "end": 744, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 738, "end": 740, "ctxt": 0 }, "value": "s2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 740, "end": 744, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 742, "end": 744, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 742, "end": 744, "ctxt": 0 }, "value": "S2", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 747, "end": 778, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 751, "end": 777, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 751, "end": 753, "ctxt": 0 }, "value": "a3", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 753, "end": 777, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 755, "end": 777, "ctxt": 0 }, "members": [ { "type": "TsMethodSignature", "span": { "start": 757, "end": 775, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 757, "end": 758, "ctxt": 0 }, "value": "f", "optional": false }, "computed": false, "optional": false, "params": [ { "type": "Identifier", "span": { "start": 759, "end": 768, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 760, "end": 768, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 762, "end": 768, "ctxt": 0 }, "kind": "string" } } } ], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 769, "end": 775, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 771, "end": 775, "ctxt": 0 }, "kind": "void" } }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 801, "end": 808, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 801, "end": 807, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 801, "end": 802, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 805, "end": 807, "ctxt": 0 }, "value": "s2", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 810, "end": 817, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 810, "end": 816, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 810, "end": 811, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 814, "end": 816, "ctxt": 0 }, "value": "a3", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 819, "end": 840, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 819, "end": 839, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 819, "end": 820, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "ArrowFunctionExpression", "span": { "start": 823, "end": 839, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 824, "end": 833, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 825, "end": 833, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 827, "end": 833, "ctxt": 0 }, "kind": "string" } } } ], "body": { "type": "NumericLiteral", "span": { "start": 838, "end": 839, "ctxt": 0 }, "value": 1.0 }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } }, { "type": "ExpressionStatement", "span": { "start": 842, "end": 881, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 842, "end": 881, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 842, "end": 843, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": null }, "right": { "type": "FunctionExpression", "identifier": null, "params": [ { "type": "Parameter", "span": { "start": 856, "end": 865, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 856, "end": 865, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 857, "end": 865, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 859, "end": 865, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 846, "end": 881, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 867, "end": 881, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 869, "end": 879, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 876, "end": 878, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } }, { "type": "ExpressionStatement", "span": { "start": 883, "end": 890, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 883, "end": 889, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 883, "end": 884, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 887, "end": 889, "ctxt": 0 }, "value": "s2", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 892, "end": 899, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 892, "end": 898, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 892, "end": 893, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 896, "end": 898, "ctxt": 0 }, "value": "a3", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 901, "end": 922, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 901, "end": 921, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 901, "end": 902, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "ArrowFunctionExpression", "span": { "start": 905, "end": 921, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 906, "end": 915, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 907, "end": 915, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 909, "end": 915, "ctxt": 0 }, "kind": "string" } } } ], "body": { "type": "NumericLiteral", "span": { "start": 920, "end": 921, "ctxt": 0 }, "value": 1.0 }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } }, { "type": "ExpressionStatement", "span": { "start": 924, "end": 963, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 924, "end": 963, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 924, "end": 925, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "FunctionExpression", "identifier": null, "params": [ { "type": "Parameter", "span": { "start": 938, "end": 947, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 938, "end": 947, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 939, "end": 947, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 941, "end": 947, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 928, "end": 963, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 949, "end": 963, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 951, "end": 961, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 958, "end": 960, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } } ], "interpreter": null }