{ "type": "Script", "span": { "start": 0, "end": 109, "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": 28, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 14, "end": 26, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 14, "end": 17, "ctxt": 0 }, "value": "foo", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 17, "end": 25, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 19, "end": 25, "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": "VariableDeclaration", "span": { "start": 30, "end": 39, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 34, "end": 38, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 34, "end": 35, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 35, "end": 38, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 37, "end": 38, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 37, "end": 38, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "TsInterfaceDeclaration", "span": { "start": 41, "end": 74, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 51, "end": 52, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 53, "end": 74, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 59, "end": 72, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 59, "end": 63, "ctxt": 0 }, "value": "fooo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 63, "end": 71, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 65, "end": 71, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 76, "end": 85, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 80, "end": 84, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 80, "end": 81, "ctxt": 0 }, "value": "i", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 81, "end": 84, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 83, "end": 84, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 83, "end": 84, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 87, "end": 93, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 87, "end": 92, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 87, "end": 88, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 91, "end": 92, "ctxt": 0 }, "value": "i", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 103, "end": 109, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 103, "end": 108, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 103, "end": 104, "ctxt": 0 }, "value": "i", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 107, "end": 108, "ctxt": 0 }, "value": "c", "optional": false } } } ], "interpreter": null }