75 lines
2.7 KiB
JSON

{
"type": "File",
"start":0,"end":76,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":76}},
"errors": [
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (1:36)",
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (1:57)"
],
"program": {
"type": "Program",
"start":0,"end":76,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":76}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "FunctionDeclaration",
"start":0,"end":76,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":76}},
"id": {
"type": "Identifier",
"start":9,"end":14,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14},"identifierName":"hello"},
"name": "hello"
},
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":17,"end":76,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":76}},
"body": [],
"directives": [
{
"type": "Directive",
"start":19,"end":39,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":39}},
"value": {
"type": "DirectiveLiteral",
"start":19,"end":38,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":38}},
"extra": {
"raw": "\"octal directive\\1\"",
"rawValue": "octal directive\\1"
},
"value": "octal directive\\1"
}
},
{
"type": "Directive",
"start":40,"end":60,"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":60}},
"value": {
"type": "DirectiveLiteral",
"start":40,"end":59,"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":59}},
"extra": {
"raw": "\"octal directive\\2\"",
"rawValue": "octal directive\\2"
},
"value": "octal directive\\2"
}
},
{
"type": "Directive",
"start":61,"end":74,"loc":{"start":{"line":1,"column":61},"end":{"line":1,"column":74}},
"value": {
"type": "DirectiveLiteral",
"start":61,"end":73,"loc":{"start":{"line":1,"column":61},"end":{"line":1,"column":73}},
"extra": {
"raw": "\"use strict\"",
"rawValue": "use strict"
},
"value": "use strict"
}
}
]
}
}
],
"directives": []
}
}