{ "type": "File", "start": 0, "end": 53, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 10 } }, "program": { "type": "Program", "start": 0, "end": 53, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 10 } }, "sourceType": "module", "interpreter": null, "body": [ { "type": "DeclareModule", "start": 0, "end": 41, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "id": { "type": "Identifier", "start": 15, "end": 16, "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 16 }, "identifierName": "A" }, "name": "A" }, "body": { "type": "BlockStatement", "start": 17, "end": 41, "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 3, "column": 1 } }, "body": [ { "type": "DeclareClass", "start": 21, "end": 39, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 20 } }, "id": { "type": "Identifier", "start": 35, "end": 36, "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 17 }, "identifierName": "X" }, "name": "X" }, "typeParameters": null, "extends": [], "implements": [], "mixins": [], "body": { "type": "ObjectTypeAnnotation", "start": 37, "end": 39, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 20 } }, "callProperties": [], "properties": [], "indexers": [], "internalSlots": [], "exact": false } } ] }, "kind": "CommonJS" }, { "type": "ClassDeclaration", "start": 43, "end": 53, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 10 } }, "id": { "type": "Identifier", "start": 49, "end": 50, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 7 }, "identifierName": "X" }, "name": "X" }, "superClass": null, "body": { "type": "ClassBody", "start": 51, "end": 53, "loc": { "start": { "line": 5, "column": 8 }, "end": { "line": 5, "column": 10 } }, "body": [] } } ], "directives": [] } }