{ "type": "Script", "span": { "start": 15, "end": 150, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 21, "end": 23, "ctxt": 0 }, "value": "C1", "optional": false }, "declare": false, "span": { "start": 15, "end": 99, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 41, "end": 97, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 41, "end": 61, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 42, "end": 60, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 42, "end": 48, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 49, "end": 60, "ctxt": 0 }, "value": "toStringTag", "optional": false } } }, "function": { "params": [], "decorators": [], "span": { "start": 41, "end": 97, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 64, "end": 97, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 74, "end": 91, "ctxt": 0 }, "argument": { "type": "ObjectExpression", "span": { "start": 81, "end": 90, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 83, "end": 84, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 86, "end": 88, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 32, "end": 34, "ctxt": 0 }, "value": "C2", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 106, "end": 108, "ctxt": 0 }, "value": "C2", "optional": false }, "declare": false, "span": { "start": 100, "end": 150, "ctxt": 0 }, "decorators": [], "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 116, "end": 125, "ctxt": 0 }, "value": "s", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 117, "end": 125, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 119, "end": 125, "ctxt": 0 }, "kind": "symbol" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 126, "end": 147, "ctxt": 0 }, "typeAnnotation": { "type": "TsFunctionType", "span": { "start": 128, "end": 147, "ctxt": 0 }, "params": [], "typeParams": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 131, "end": 147, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 134, "end": 147, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 136, "end": 145, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 136, "end": 137, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 137, "end": 145, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 139, "end": 145, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } } } }, "readonly": false, "static": false, "span": { "start": 115, "end": 148, "ctxt": 0 } } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }