{ "type": "Script", "span": { "start": 56, "end": 207, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 62, "end": 63, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 56, "end": 105, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 70, "end": 103, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 74, "end": 75, "ctxt": 0 }, "value": "x", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 70, "end": 103, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 78, "end": 103, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 88, "end": 97, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 95, "end": 96, "ctxt": 0 }, "value": 1.0 } } ] }, "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": 113, "end": 114, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 107, "end": 139, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 121, "end": 137, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 125, "end": 126, "ctxt": 0 }, "value": "x", "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": "v", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 121, "end": 137, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 130, "end": 137, "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": 141, "end": 177, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 145, "end": 177, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 145, "end": 146, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 149, "end": 177, "ctxt": 0 }, "properties": [ { "type": "GetterProperty", "span": { "start": 155, "end": 175, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 159, "end": 160, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": null, "body": { "type": "BlockStatement", "span": { "start": 163, "end": 175, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 165, "end": 173, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 172, "end": 173, "ctxt": 0 }, "value": 1.0 } } ] } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 179, "end": 207, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 183, "end": 207, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 183, "end": 184, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 187, "end": 207, "ctxt": 0 }, "properties": [ { "type": "SetterProperty", "span": { "start": 193, "end": 205, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 197, "end": 198, "ctxt": 0 }, "value": "b", "optional": false }, "param": { "type": "Identifier", "span": { "start": 199, "end": 200, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null }, "body": { "type": "BlockStatement", "span": { "start": 202, "end": 205, "ctxt": 0 }, "stmts": [] } } ] }, "definite": false } ] } ], "interpreter": null }