{ "type": "Script", "span": { "start": 0, "end": 869, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 6, "end": 7, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 0, "end": 231, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 14, "end": 24, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 14, "end": 15, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 15, "end": 23, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 17, "end": 23, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 29, "end": 58, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 33, "end": 34, "ctxt": 0 }, "value": "X", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 29, "end": 58, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 45, "end": 58, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 47, "end": 56, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 54, "end": 55, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 36, "end": 44, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 38, "end": 44, "ctxt": 0 }, "kind": "number" } } }, "kind": "getter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 63, "end": 102, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 63, "end": 66, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 63, "end": 102, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 77, "end": 102, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 87, "end": 96, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 94, "end": 95, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 68, "end": 76, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 70, "end": 76, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassProperty", "span": { "start": 108, "end": 125, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 115, "end": 116, "ctxt": 0 }, "value": "y", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 116, "end": 124, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 118, "end": 124, "ctxt": 0 }, "kind": "number" } }, "isStatic": true, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 130, "end": 178, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 141, "end": 142, "ctxt": 0 }, "value": "Y", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 130, "end": 178, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 153, "end": 178, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 163, "end": 172, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 170, "end": 171, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 144, "end": 152, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 146, "end": 152, "ctxt": 0 }, "kind": "number" } } }, "kind": "getter", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 183, "end": 229, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 190, "end": 193, "ctxt": 0 }, "value": "bar", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 183, "end": 229, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 204, "end": 229, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 214, "end": 223, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 221, "end": 222, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 195, "end": 203, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 197, "end": 203, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 239, "end": 240, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 233, "end": 477, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 257, "end": 264, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 257, "end": 258, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 258, "end": 263, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 260, "end": 263, "ctxt": 0 }, "kind": "any" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 269, "end": 310, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 273, "end": 274, "ctxt": 0 }, "value": "X", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 269, "end": 310, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 282, "end": 310, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 292, "end": 304, "ctxt": 0 }, "argument": { "type": "NullLiteral", "span": { "start": 299, "end": 303, "ctxt": 0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 276, "end": 281, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 278, "end": 281, "ctxt": 0 }, "kind": "any" } } }, "kind": "getter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 315, "end": 351, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 315, "end": 318, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 315, "end": 351, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 326, "end": 351, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 336, "end": 345, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 343, "end": 344, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 320, "end": 325, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 322, "end": 325, "ctxt": 0 }, "kind": "any" } } }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassProperty", "span": { "start": 357, "end": 371, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 364, "end": 365, "ctxt": 0 }, "value": "y", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 365, "end": 370, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 367, "end": 370, "ctxt": 0 }, "kind": "any" } }, "isStatic": true, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 376, "end": 424, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 387, "end": 388, "ctxt": 0 }, "value": "Y", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 376, "end": 424, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 396, "end": 424, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 406, "end": 418, "ctxt": 0 }, "argument": { "type": "NullLiteral", "span": { "start": 413, "end": 417, "ctxt": 0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 390, "end": 395, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 392, "end": 395, "ctxt": 0 }, "kind": "any" } } }, "kind": "getter", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 429, "end": 475, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 436, "end": 439, "ctxt": 0 }, "value": "bar", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 429, "end": 475, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 447, "end": 475, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 457, "end": 469, "ctxt": 0 }, "argument": { "type": "NullLiteral", "span": { "start": 464, "end": 468, "ctxt": 0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 441, "end": 446, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 443, "end": 446, "ctxt": 0 }, "kind": "any" } } }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 249, "end": 250, "ctxt": 0 }, "value": "C", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 568, "end": 569, "ctxt": 0 }, "value": "E", "optional": false }, "declare": false, "span": { "start": 562, "end": 806, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 586, "end": 596, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 586, "end": 587, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 587, "end": 595, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 589, "end": 595, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 601, "end": 630, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 605, "end": 606, "ctxt": 0 }, "value": "X", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 601, "end": 630, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 616, "end": 630, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 618, "end": 628, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 625, "end": 627, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 608, "end": 616, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 610, "end": 616, "ctxt": 0 }, "kind": "string" } } }, "kind": "getter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 635, "end": 675, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 635, "end": 638, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 635, "end": 675, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 649, "end": 675, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 659, "end": 669, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 666, "end": 668, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 640, "end": 648, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 642, "end": 648, "ctxt": 0 }, "kind": "string" } } }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassProperty", "span": { "start": 681, "end": 698, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 688, "end": 689, "ctxt": 0 }, "value": "y", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 689, "end": 697, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 691, "end": 697, "ctxt": 0 }, "kind": "string" } }, "isStatic": true, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 703, "end": 752, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 714, "end": 715, "ctxt": 0 }, "value": "Y", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 703, "end": 752, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 726, "end": 752, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 736, "end": 746, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 743, "end": 745, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 717, "end": 725, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 719, "end": 725, "ctxt": 0 }, "kind": "string" } } }, "kind": "getter", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 757, "end": 804, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 764, "end": 767, "ctxt": 0 }, "value": "bar", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 757, "end": 804, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 778, "end": 804, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 788, "end": 798, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 795, "end": 797, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 769, "end": 777, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 771, "end": 777, "ctxt": 0 }, "kind": "string" } } }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 578, "end": 579, "ctxt": 0 }, "value": "D", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "VariableDeclaration", "span": { "start": 808, "end": 817, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 812, "end": 816, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 812, "end": 813, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 813, "end": 816, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 815, "end": 816, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 815, "end": 816, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 818, "end": 827, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 822, "end": 826, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 822, "end": 823, "ctxt": 0 }, "value": "d", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 823, "end": 826, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 825, "end": 826, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 825, "end": 826, "ctxt": 0 }, "value": "D", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 828, "end": 837, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 832, "end": 836, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 832, "end": 833, "ctxt": 0 }, "value": "e", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 833, "end": 836, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 835, "end": 836, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 835, "end": 836, "ctxt": 0 }, "value": "E", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 839, "end": 845, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 839, "end": 844, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 839, "end": 840, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 843, "end": 844, "ctxt": 0 }, "value": "d", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 846, "end": 852, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 846, "end": 851, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 846, "end": 847, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 850, "end": 851, "ctxt": 0 }, "value": "e", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 853, "end": 869, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 857, "end": 868, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 857, "end": 858, "ctxt": 0 }, "value": "r", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 861, "end": 868, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 861, "end": 866, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 861, "end": 862, "ctxt": 0 }, "value": "c", "optional": false }, "property": { "type": "Identifier", "span": { "start": 863, "end": 866, "ctxt": 0 }, "value": "foo", "optional": false } }, "arguments": [], "typeArguments": null }, "definite": false } ] } ], "interpreter": null }