{ "type": "File", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "errors": [ "SyntaxError: Unexpected reserved word 'enum'. (1:8)" ], "program": { "type": "Program", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "sourceType": "module", "interpreter": null, "body": [ { "type": "VariableDeclaration", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "declarations": [ { "type": "VariableDeclarator", "start":6,"end":22,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":22,"index":22}}, "id": { "type": "ObjectPattern", "start":6,"end":14,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":14,"index":14}}, "properties": [ { "type": "ObjectProperty", "start":8,"end":12,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":12,"index":12}}, "key": { "type": "Identifier", "start":8,"end":12,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":12,"index":12},"identifierName":"enum"}, "name": "enum" }, "computed": false, "method": false, "shorthand": true, "value": { "type": "Identifier", "start":8,"end":12,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":12,"index":12},"identifierName":"enum"}, "name": "enum" }, "extra": { "shorthand": true } } ] }, "init": { "type": "CallExpression", "start":17,"end":22,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":22,"index":22}}, "callee": { "type": "Identifier", "start":17,"end":20,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":20,"index":20},"identifierName":"foo"}, "name": "foo" }, "arguments": [] } } ], "kind": "const" } ], "directives": [] } }