{ "type": "File", "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}}, "errors": [ "SyntaxError: Missing semicolon. (1:12)", "SyntaxError: Missing semicolon. (1:24)" ], "program": { "type": "Program", "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}}, "sourceType": "module", "interpreter": null, "body": [ { "type": "ImportDeclaration", "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}}, "specifiers": [], "source": { "type": "StringLiteral", "start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12}}, "extra": { "rawValue": "foo", "raw": "\"foo\"" }, "value": "foo" }, "assertions": [] }, { "type": "ExpressionStatement", "start":13,"end":24,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":24,"index":24}}, "expression": { "type": "Identifier", "start":13,"end":24,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":24,"index":24},"identifierName":"assert"}, "name": "assert" } }, { "type": "BlockStatement", "start":25,"end":41,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":41,"index":41}}, "body": [ { "type": "LabeledStatement", "start":27,"end":39,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":39,"index":39}}, "body": { "type": "ExpressionStatement", "start":33,"end":39,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":39,"index":39}}, "expression": { "type": "StringLiteral", "start":33,"end":39,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":39,"index":39}}, "extra": { "rawValue": "json", "raw": "\"json\"" }, "value": "json" } }, "label": { "type": "Identifier", "start":27,"end":31,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":31,"index":31},"identifierName":"type"}, "name": "type" } } ], "directives": [] }, { "type": "EmptyStatement", "start":41,"end":42,"loc":{"start":{"line":1,"column":41,"index":41},"end":{"line":1,"column":42,"index":42}} } ], "directives": [] } }