Files
babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-01/output.json

29 lines
831 B
JSON

{
"type": "File",
"start":0,"end":6,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}},
"errors": [
"SyntaxError: Bad character escape sequence. (1:3)"
],
"program": {
"type": "Program",
"start":0,"end":6,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}},
"sourceType": "script",
"interpreter": null,
"body": [],
"directives": [
{
"type": "Directive",
"start":0,"end":6,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}},
"value": {
"type": "DirectiveLiteral",
"start":0,"end":5,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}},
"extra": {
"raw": "\"\\x0\"",
"rawValue": "\\x0"
},
"value": "\\x0"
}
}
]
}
}