{ "type": "Script", "span": { "start": 30, "end": 954, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 36, "end": 37, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 30, "end": 954, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 44, "end": 64, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 54, "end": 55, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 55, "end": 63, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 57, "end": 63, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 69, "end": 105, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 83, "end": 84, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 69, "end": 105, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 87, "end": 105, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 89, "end": 103, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 96, "end": 102, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 96, "end": 100, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 101, "end": 102, "ctxt": 0 }, "value": "x", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": false, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 110, "end": 149, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 124, "end": 125, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 126, "end": 127, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 126, "end": 127, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 110, "end": 149, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 129, "end": 149, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 131, "end": 147, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 131, "end": 146, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 131, "end": 137, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 131, "end": 135, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 136, "end": 137, "ctxt": 0 }, "value": "y", "optional": false } }, "right": { "type": "MemberExpression", "span": { "start": 140, "end": 146, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 140, "end": 144, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 145, "end": 146, "ctxt": 0 }, "value": "x", "optional": false } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "setter", "isStatic": false, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 154, "end": 190, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 164, "end": 167, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 154, "end": 190, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 170, "end": 190, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 172, "end": 188, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 179, "end": 187, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 179, "end": 183, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 184, "end": 187, "ctxt": 0 }, "value": "foo", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassProperty", "span": { "start": 196, "end": 223, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 213, "end": 214, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 214, "end": 222, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 216, "end": 222, "ctxt": 0 }, "kind": "string" } }, "isStatic": true, "decorators": [], "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 228, "end": 271, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 249, "end": 250, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 228, "end": 271, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 253, "end": 271, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 255, "end": 269, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 262, "end": 268, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 262, "end": 266, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 267, "end": 268, "ctxt": 0 }, "value": "x", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": true, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 276, "end": 322, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 297, "end": 298, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 299, "end": 300, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 299, "end": 300, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 276, "end": 322, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 302, "end": 322, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 304, "end": 320, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 304, "end": 319, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 304, "end": 310, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 304, "end": 308, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 309, "end": 310, "ctxt": 0 }, "value": "y", "optional": false } }, "right": { "type": "MemberExpression", "span": { "start": 313, "end": 319, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 313, "end": 317, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 318, "end": 319, "ctxt": 0 }, "value": "x", "optional": false } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "setter", "isStatic": true, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 327, "end": 370, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 344, "end": 347, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 327, "end": 370, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 350, "end": 370, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 352, "end": 368, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 359, "end": 367, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 359, "end": 363, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 364, "end": 367, "ctxt": 0 }, "value": "foo", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 375, "end": 413, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 392, "end": 395, "ctxt": 0 }, "value": "bar", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 375, "end": 413, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 398, "end": 413, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 400, "end": 411, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 400, "end": 410, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 400, "end": 408, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 400, "end": 404, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 405, "end": 408, "ctxt": 0 }, "value": "foo", "optional": false } }, "arguments": [], "typeArguments": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 419, "end": 952, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 429, "end": 432, "ctxt": 0 }, "value": "bar", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 419, "end": 952, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 435, "end": 952, "ctxt": 0 }, "stmts": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 451, "end": 453, "ctxt": 0 }, "value": "C2", "optional": false }, "declare": false, "span": { "start": 445, "end": 946, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 468, "end": 936, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 478, "end": 481, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 468, "end": 936, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 484, "end": 936, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 502, "end": 511, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 506, "end": 510, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 506, "end": 507, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 507, "end": 510, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 509, "end": 510, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 509, "end": 510, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 528, "end": 543, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 532, "end": 542, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 532, "end": 534, "ctxt": 0 }, "value": "x1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 537, "end": 542, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 537, "end": 538, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 539, "end": 542, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 560, "end": 575, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 564, "end": 574, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 564, "end": 566, "ctxt": 0 }, "value": "x2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 569, "end": 574, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 569, "end": 570, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 571, "end": 574, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 592, "end": 605, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 596, "end": 604, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 596, "end": 598, "ctxt": 0 }, "value": "x3", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 601, "end": 604, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 601, "end": 602, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 603, "end": 604, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 622, "end": 635, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 626, "end": 634, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 626, "end": 628, "ctxt": 0 }, "value": "x4", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 631, "end": 634, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 631, "end": 632, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 633, "end": 634, "ctxt": 0 }, "value": "y", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 653, "end": 667, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 657, "end": 666, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 657, "end": 660, "ctxt": 0 }, "value": "sx1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 663, "end": 666, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 663, "end": 664, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 665, "end": 666, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 684, "end": 698, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 688, "end": 697, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 688, "end": 691, "ctxt": 0 }, "value": "sx2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 694, "end": 697, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 694, "end": 695, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 696, "end": 697, "ctxt": 0 }, "value": "y", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 715, "end": 731, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 719, "end": 730, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 719, "end": 722, "ctxt": 0 }, "value": "sx3", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 725, "end": 730, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 725, "end": 726, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 727, "end": 730, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 748, "end": 764, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 752, "end": 763, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 752, "end": 755, "ctxt": 0 }, "value": "sx4", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 758, "end": 763, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 758, "end": 759, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 760, "end": 763, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 782, "end": 798, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 786, "end": 797, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 786, "end": 787, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "init": { "type": "NewExpression", "span": { "start": 790, "end": 797, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 794, "end": 795, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 815, "end": 830, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 819, "end": 829, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 819, "end": 821, "ctxt": 0 }, "value": "y1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 824, "end": 829, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 824, "end": 825, "ctxt": 0 }, "value": "y", "optional": false }, "property": { "type": "Identifier", "span": { "start": 826, "end": 829, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 847, "end": 862, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 851, "end": 861, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 851, "end": 853, "ctxt": 0 }, "value": "y2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 856, "end": 861, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 856, "end": 857, "ctxt": 0 }, "value": "y", "optional": false }, "property": { "type": "Identifier", "span": { "start": 858, "end": 861, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 879, "end": 892, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 883, "end": 891, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 883, "end": 885, "ctxt": 0 }, "value": "y3", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 888, "end": 891, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 888, "end": 889, "ctxt": 0 }, "value": "y", "optional": false }, "property": { "type": "Identifier", "span": { "start": 890, "end": 891, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 909, "end": 922, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 913, "end": 921, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 913, "end": 915, "ctxt": 0 }, "value": "y4", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 918, "end": 921, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 918, "end": 919, "ctxt": 0 }, "value": "y", "optional": false }, "property": { "type": "Identifier", "span": { "start": 920, "end": 921, "ctxt": 0 }, "value": "y", "optional": false } }, "definite": false } ] } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }