{ "type": "File", "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":11,"index":31}}, "errors": [ "SyntaxError: Identifier 'C1' has already been declared. (2:6)" ], "program": { "type": "Program", "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":11,"index":31}}, "sourceType": "module", "interpreter": null, "body": [ { "type": "DeclareClass", "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}}, "id": { "type": "Identifier", "start":14,"end":16,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":16,"index":16},"identifierName":"C1"}, "name": "C1" }, "typeParameters": null, "extends": [], "implements": [], "mixins": [], "body": { "type": "ObjectTypeAnnotation", "start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}}, "callProperties": [], "properties": [], "indexers": [], "internalSlots": [], "exact": false } }, { "type": "ClassDeclaration", "start":20,"end":31,"loc":{"start":{"line":2,"column":0,"index":20},"end":{"line":2,"column":11,"index":31}}, "id": { "type": "Identifier", "start":26,"end":28,"loc":{"start":{"line":2,"column":6,"index":26},"end":{"line":2,"column":8,"index":28},"identifierName":"C1"}, "name": "C1" }, "superClass": null, "body": { "type": "ClassBody", "start":29,"end":31,"loc":{"start":{"line":2,"column":9,"index":29},"end":{"line":2,"column":11,"index":31}}, "body": [] } } ], "directives": [] } }