{ "type": "Script", "span": { "start": 0, "end": 300, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 6, "end": 7, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 0, "end": 34, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 14, "end": 32, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 22, "end": 23, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 23, "end": 31, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 25, "end": 31, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": "private", "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 36, "end": 76, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 46, "end": 47, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [ { "type": "TsExpressionWithTypeArguments", "span": { "start": 56, "end": 57, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 56, "end": 57, "ctxt": 0 }, "value": "C", "optional": false }, "typeArguments": null } ], "body": { "type": "TsInterfaceBody", "span": { "start": 58, "end": 76, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 64, "end": 74, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 64, "end": 65, "ctxt": 0 }, "value": "y", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 65, "end": 73, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 67, "end": 73, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 78, "end": 108, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 88, "end": 89, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 90, "end": 108, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 96, "end": 106, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 96, "end": 97, "ctxt": 0 }, "value": "z", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 97, "end": 105, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 99, "end": 105, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 116, "end": 117, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 110, "end": 196, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 146, "end": 164, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 154, "end": 155, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 155, "end": 163, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 157, "end": 163, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": "private", "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 169, "end": 179, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 169, "end": 170, "ctxt": 0 }, "value": "y", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 170, "end": 178, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 172, "end": 178, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 184, "end": 194, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 184, "end": 185, "ctxt": 0 }, "value": "z", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 185, "end": 193, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 187, "end": 193, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [ { "type": "TsExpressionWithTypeArguments", "span": { "start": 129, "end": 130, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 129, "end": 130, "ctxt": 0 }, "value": "A", "optional": false }, "typeArguments": null } ] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 204, "end": 205, "ctxt": 0 }, "value": "E", "optional": false }, "declare": false, "span": { "start": 198, "end": 276, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 234, "end": 244, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 234, "end": 235, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 235, "end": 243, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 237, "end": 243, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 249, "end": 259, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 249, "end": 250, "ctxt": 0 }, "value": "y", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 250, "end": 258, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 252, "end": 258, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 264, "end": 274, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 264, "end": 265, "ctxt": 0 }, "value": "z", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 265, "end": 273, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 267, "end": 273, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [ { "type": "TsExpressionWithTypeArguments", "span": { "start": 217, "end": 218, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 217, "end": 218, "ctxt": 0 }, "value": "A", "optional": false }, "typeArguments": null } ] }, { "type": "VariableDeclaration", "span": { "start": 278, "end": 287, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 282, "end": 286, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 282, "end": 283, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 283, "end": 286, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 285, "end": 286, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 285, "end": 286, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 288, "end": 300, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 292, "end": 299, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 292, "end": 293, "ctxt": 0 }, "value": "r", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 296, "end": 299, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 296, "end": 297, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 298, "end": 299, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] } ], "interpreter": null }