{ "type": "Script", "span": { "start": 57, "end": 208, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 63, "end": 64, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 57, "end": 106, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 71, "end": 104, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 75, "end": 76, "ctxt": 0 }, "value": "x", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 71, "end": 104, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 79, "end": 104, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 89, "end": 98, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 96, "end": 97, "ctxt": 0 }, "value": 1.0, "raw": "1" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 114, "end": 115, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 108, "end": 140, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 122, "end": 138, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 126, "end": 127, "ctxt": 0 }, "value": "x", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 128, "end": 129, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 128, "end": 129, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 122, "end": 138, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 131, "end": 138, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "setter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "VariableDeclaration", "span": { "start": 142, "end": 178, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 146, "end": 178, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 146, "end": 147, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 150, "end": 178, "ctxt": 0 }, "properties": [ { "type": "GetterProperty", "span": { "start": 156, "end": 176, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 160, "end": 161, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null, "body": { "type": "BlockStatement", "span": { "start": 164, "end": 176, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 166, "end": 174, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 173, "end": 174, "ctxt": 0 }, "value": 1.0, "raw": "1" } } ] } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 180, "end": 208, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 184, "end": 208, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 184, "end": 185, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 188, "end": 208, "ctxt": 0 }, "properties": [ { "type": "SetterProperty", "span": { "start": 194, "end": 206, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 198, "end": 199, "ctxt": 0 }, "value": "b", "optional": false }, "param": { "type": "Identifier", "span": { "start": 200, "end": 201, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null }, "body": { "type": "BlockStatement", "span": { "start": 203, "end": 206, "ctxt": 0 }, "stmts": [] } } ] }, "definite": false } ] } ], "interpreter": null }