{ "type": "Module", "span": { "start": 113, "end": 446, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 113, "end": 446, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 126, "end": 127, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 120, "end": 446, "ctxt": 0 }, "decorators": [], "body": [ { "type": "PrivateProperty", "span": { "start": 134, "end": 151, "ctxt": 0 }, "key": { "type": "PrivateName", "span": { "start": 134, "end": 140, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 135, "end": 140, "ctxt": 0 }, "value": "hello", "optional": false } }, "value": { "type": "StringLiteral", "span": { "start": 143, "end": 150, "ctxt": 0 }, "value": "hello", "raw": "\"hello\"" }, "typeAnnotation": null, "isStatic": false, "decorators": [], "accessibility": null, "isOptional": false, "isOverride": false, "readonly": false, "definite": false }, { "type": "PrivateProperty", "span": { "start": 156, "end": 169, "ctxt": 0 }, "key": { "type": "PrivateName", "span": { "start": 156, "end": 162, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 157, "end": 162, "ctxt": 0 }, "value": "world", "optional": false } }, "value": { "type": "NumericLiteral", "span": { "start": 165, "end": 168, "ctxt": 0 }, "value": 100.0, "raw": "100" }, "typeAnnotation": null, "isStatic": false, "decorators": [], "accessibility": null, "isOptional": false, "isOverride": false, "readonly": false, "definite": false }, { "type": "PrivateMethod", "span": { "start": 175, "end": 223, "ctxt": 0 }, "key": { "type": "PrivateName", "span": { "start": 175, "end": 185, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 176, "end": 185, "ctxt": 0 }, "value": "calcHello", "optional": false } }, "function": { "params": [], "decorators": [], "span": { "start": 175, "end": 223, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 188, "end": 223, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 198, "end": 217, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 205, "end": 216, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 205, "end": 209, "ctxt": 0 } }, "property": { "type": "PrivateName", "span": { "start": 210, "end": 216, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 211, "end": 216, "ctxt": 0 }, "value": "hello", "optional": false } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "PrivateMethod", "span": { "start": 229, "end": 300, "ctxt": 0 }, "key": { "type": "PrivateName", "span": { "start": 233, "end": 248, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 234, "end": 248, "ctxt": 0 }, "value": "screamingHello", "optional": false } }, "function": { "params": [], "decorators": [], "span": { "start": 229, "end": 300, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 251, "end": 300, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 261, "end": 294, "ctxt": 0 }, "argument": { "type": "CallExpression", "span": { "start": 268, "end": 293, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 268, "end": 291, "ctxt": 0 }, "object": { "type": "MemberExpression", "span": { "start": 268, "end": 279, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 268, "end": 272, "ctxt": 0 } }, "property": { "type": "PrivateName", "span": { "start": 273, "end": 279, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 274, "end": 279, "ctxt": 0 }, "value": "hello", "optional": false } } }, "property": { "type": "Identifier", "span": { "start": 280, "end": 291, "ctxt": 0 }, "value": "toUpperCase", "optional": false } }, "arguments": [], "typeArguments": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "PrivateMethod", "span": { "start": 338, "end": 392, "ctxt": 0 }, "key": { "type": "PrivateName", "span": { "start": 342, "end": 357, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 343, "end": 357, "ctxt": 0 }, "value": "screamingHello", "optional": false } }, "function": { "params": [ { "type": "Parameter", "span": { "start": 358, "end": 363, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 358, "end": 363, "ctxt": 0 }, "value": "value", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 338, "end": 392, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 365, "end": 392, "ctxt": 0 }, "stmts": [ { "type": "ThrowStatement", "span": { "start": 375, "end": 386, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 381, "end": 385, "ctxt": 0 }, "value": "NO", "raw": "\"NO\"" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "setter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 398, "end": 444, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 398, "end": 406, "ctxt": 0 }, "value": "getWorld", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 398, "end": 444, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 409, "end": 444, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 419, "end": 438, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 426, "end": 437, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 426, "end": 430, "ctxt": 0 } }, "property": { "type": "PrivateName", "span": { "start": 431, "end": 437, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 432, "end": 437, "ctxt": 0 }, "value": "world", "optional": false } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } } ], "interpreter": null }