{ "type": "Script", "span": { "start": 20, "end": 123, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 26, "end": 27, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "span": { "start": 20, "end": 123, "ctxt": 0 }, "decorators": [], "body": [ { "type": "PrivateProperty", "span": { "start": 34, "end": 59, "ctxt": 0 }, "key": { "type": "PrivateName", "span": { "start": 34, "end": 42, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 35, "end": 42, "ctxt": 0 }, "value": "myField", "optional": false } }, "value": { "type": "StringLiteral", "span": { "start": 45, "end": 58, "ctxt": 0 }, "value": "hello world", "raw": "\"hello world\"" }, "typeAnnotation": null, "isStatic": false, "decorators": [], "accessibility": null, "isOptional": false, "isOverride": false, "readonly": false, "definite": false }, { "type": "Constructor", "span": { "start": 64, "end": 121, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 64, "end": 75, "ctxt": 0 }, "value": "constructor", "optional": false }, "params": [], "body": { "type": "BlockStatement", "span": { "start": 78, "end": 121, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 88, "end": 115, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 88, "end": 114, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 88, "end": 99, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 88, "end": 95, "ctxt": 0 }, "value": "console", "optional": false }, "property": { "type": "Identifier", "span": { "start": 96, "end": 99, "ctxt": 0 }, "value": "log", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "MemberExpression", "span": { "start": 100, "end": 113, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 100, "end": 104, "ctxt": 0 } }, "property": { "type": "PrivateName", "span": { "start": 105, "end": 113, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 106, "end": 113, "ctxt": 0 }, "value": "myField", "optional": false } } } } ], "typeArguments": null } } ] }, "accessibility": null, "isOptional": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }