88 lines
3.2 KiB
JSON
88 lines
3.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}},
|
|
"errors": [
|
|
"SyntaxError: The only valid numeric escape in strict mode is '\\0' (1:38)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":50,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}},
|
|
"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":50,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":50}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":33,"end":48,"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":48}},
|
|
"expression": {
|
|
"type": "ObjectExpression",
|
|
"start":34,"end":46,"loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":46}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start":36,"end":44,"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":44}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start":36,"end":40,"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":40}},
|
|
"extra": {
|
|
"rawValue": "\u0001",
|
|
"raw": "\"\\1\""
|
|
},
|
|
"value": "\u0001"
|
|
},
|
|
"computed": false,
|
|
"shorthand": false,
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"start":42,"end":44,"loc":{"start":{"line":1,"column":42},"end":{"line":1,"column":44}},
|
|
"extra": {
|
|
"rawValue": 42,
|
|
"raw": "42"
|
|
},
|
|
"value": 42
|
|
}
|
|
}
|
|
],
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 33
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"type": "Directive",
|
|
"start":19,"end":32,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":32}},
|
|
"value": {
|
|
"type": "DirectiveLiteral",
|
|
"start":19,"end":31,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":31}},
|
|
"value": "use strict",
|
|
"extra": {
|
|
"raw": "'use strict'",
|
|
"rawValue": "use strict"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |