{ "type": "File", "start": 0, "end": 36, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 2, "column": 20 } }, "errors": [ "SyntaxError: `Foo` has already been exported. Exported identifiers must be unique. (2:0)" ], "program": { "type": "Program", "start": 0, "end": 36, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 2, "column": 20 } }, "sourceType": "module", "interpreter": null, "body": [ { "type": "ExportNamedDeclaration", "start": 0, "end": 15, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 15 } }, "specifiers": [ { "type": "ExportSpecifier", "start": 9, "end": 12, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 12 } }, "local": { "type": "Identifier", "start": 9, "end": 12, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 12 }, "identifierName": "Foo" }, "name": "Foo" }, "exported": { "type": "Identifier", "start": 9, "end": 12, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 12 }, "identifierName": "Foo" }, "name": "Foo" } } ], "source": null, "declaration": null }, { "type": "ExportNamedDeclaration", "start": 16, "end": 35, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 19 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 23, "end": 35, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 19 } }, "id": { "type": "Identifier", "start": 29, "end": 32, "loc": { "start": { "line": 2, "column": 13 }, "end": { "line": 2, "column": 16 }, "identifierName": "Foo" }, "name": "Foo" }, "superClass": null, "body": { "type": "ClassBody", "start": 33, "end": 35, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 19 } }, "body": [] } } }, { "type": "EmptyStatement", "start": 35, "end": 36, "loc": { "start": { "line": 2, "column": 19 }, "end": { "line": 2, "column": 20 } } } ], "directives": [] } }