{ "type": "Script", "span": { "start": 31, "end": 955, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 37, "end": 38, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 31, "end": 955, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 45, "end": 65, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 55, "end": 56, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 56, "end": 64, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 58, "end": 64, "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": 70, "end": 106, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 84, "end": 85, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 70, "end": 106, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 88, "end": 106, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 90, "end": 104, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 97, "end": 103, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 97, "end": 101, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 102, "end": 103, "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": 111, "end": 150, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 125, "end": 126, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 127, "end": 128, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 127, "end": 128, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 111, "end": 150, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 130, "end": 150, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 132, "end": 148, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 132, "end": 147, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 132, "end": 138, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 132, "end": 136, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 137, "end": 138, "ctxt": 0 }, "value": "y", "optional": false } }, "right": { "type": "MemberExpression", "span": { "start": 141, "end": 147, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 141, "end": 145, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 146, "end": 147, "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": 155, "end": 191, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 165, "end": 168, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 155, "end": 191, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 171, "end": 191, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 173, "end": 189, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 180, "end": 188, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 180, "end": 184, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 185, "end": 188, "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": 197, "end": 224, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 214, "end": 215, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 215, "end": 223, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 217, "end": 223, "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": 229, "end": 272, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 250, "end": 251, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 229, "end": 272, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 254, "end": 272, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 256, "end": 270, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 263, "end": 269, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 263, "end": 267, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 268, "end": 269, "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": 277, "end": 323, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 298, "end": 299, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 300, "end": 301, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 300, "end": 301, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 277, "end": 323, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 303, "end": 323, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 305, "end": 321, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 305, "end": 320, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 305, "end": 311, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 305, "end": 309, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 310, "end": 311, "ctxt": 0 }, "value": "y", "optional": false } }, "right": { "type": "MemberExpression", "span": { "start": 314, "end": 320, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 314, "end": 318, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 319, "end": 320, "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": 328, "end": 371, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 345, "end": 348, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 328, "end": 371, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 351, "end": 371, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 353, "end": 369, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 360, "end": 368, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 360, "end": 364, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 365, "end": 368, "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": 376, "end": 414, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 393, "end": 396, "ctxt": 0 }, "value": "bar", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 376, "end": 414, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 399, "end": 414, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 401, "end": 412, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 401, "end": 411, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 401, "end": 409, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 401, "end": 405, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 406, "end": 409, "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": 420, "end": 953, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 430, "end": 433, "ctxt": 0 }, "value": "bar", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 420, "end": 953, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 436, "end": 953, "ctxt": 0 }, "stmts": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 452, "end": 454, "ctxt": 0 }, "value": "C2", "optional": false }, "declare": false, "span": { "start": 446, "end": 947, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 469, "end": 937, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 479, "end": 482, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 469, "end": 937, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 485, "end": 937, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 503, "end": 512, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 507, "end": 511, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 507, "end": 508, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 508, "end": 511, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 510, "end": 511, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 510, "end": 511, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 529, "end": 544, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 533, "end": 543, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 533, "end": 535, "ctxt": 0 }, "value": "x1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 538, "end": 543, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 538, "end": 539, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 540, "end": 543, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 561, "end": 576, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 565, "end": 575, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 565, "end": 567, "ctxt": 0 }, "value": "x2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 570, "end": 575, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 570, "end": 571, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 572, "end": 575, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 593, "end": 606, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 597, "end": 605, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 597, "end": 599, "ctxt": 0 }, "value": "x3", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 602, "end": 605, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 602, "end": 603, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 604, "end": 605, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 623, "end": 636, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 627, "end": 635, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 627, "end": 629, "ctxt": 0 }, "value": "x4", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 632, "end": 635, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 632, "end": 633, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 634, "end": 635, "ctxt": 0 }, "value": "y", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 654, "end": 668, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 658, "end": 667, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 658, "end": 661, "ctxt": 0 }, "value": "sx1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 664, "end": 667, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 664, "end": 665, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 666, "end": 667, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 685, "end": 699, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 689, "end": 698, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 689, "end": 692, "ctxt": 0 }, "value": "sx2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 695, "end": 698, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 695, "end": 696, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 697, "end": 698, "ctxt": 0 }, "value": "y", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 716, "end": 732, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 720, "end": 731, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 720, "end": 723, "ctxt": 0 }, "value": "sx3", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 726, "end": 731, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 726, "end": 727, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 728, "end": 731, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 749, "end": 765, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 753, "end": 764, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 753, "end": 756, "ctxt": 0 }, "value": "sx4", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 759, "end": 764, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 759, "end": 760, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 761, "end": 764, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 783, "end": 799, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 787, "end": 798, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 787, "end": 788, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "init": { "type": "NewExpression", "span": { "start": 791, "end": 798, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 795, "end": 796, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 816, "end": 831, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 820, "end": 830, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 820, "end": 822, "ctxt": 0 }, "value": "y1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 825, "end": 830, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 825, "end": 826, "ctxt": 0 }, "value": "y", "optional": false }, "property": { "type": "Identifier", "span": { "start": 827, "end": 830, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 848, "end": 863, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 852, "end": 862, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 852, "end": 854, "ctxt": 0 }, "value": "y2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 857, "end": 862, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 857, "end": 858, "ctxt": 0 }, "value": "y", "optional": false }, "property": { "type": "Identifier", "span": { "start": 859, "end": 862, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 880, "end": 893, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 884, "end": 892, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 884, "end": 886, "ctxt": 0 }, "value": "y3", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 889, "end": 892, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 889, "end": 890, "ctxt": 0 }, "value": "y", "optional": false }, "property": { "type": "Identifier", "span": { "start": 891, "end": 892, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 910, "end": 923, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 914, "end": 922, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 914, "end": 916, "ctxt": 0 }, "value": "y4", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 919, "end": 922, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 919, "end": 920, "ctxt": 0 }, "value": "y", "optional": false }, "property": { "type": "Identifier", "span": { "start": 921, "end": 922, "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 }