mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
84 lines
3.3 KiB
JSON
84 lines
3.3 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":76,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":76,"index":76}},
|
|
"errors": [
|
|
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (1:69)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":76,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":76,"index":76}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":76,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":76,"index":76}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"hello"},
|
|
"name": "hello"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":17,"end":76,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":76,"index":76}},
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":33,"end":74,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":74,"index":74}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":42,"end":47,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":47,"index":47},"identifierName":"inner"},
|
|
"name": "inner"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":50,"end":74,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":74,"index":74}},
|
|
"body": [],
|
|
"directives": [
|
|
{
|
|
"type": "Directive",
|
|
"start":52,"end":72,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":72,"index":72}},
|
|
"value": {
|
|
"type": "DirectiveLiteral",
|
|
"start":52,"end":71,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":71,"index":71}},
|
|
"extra": {
|
|
"rawValue": "octal directive\\1",
|
|
"raw": "\"octal directive\\1\"",
|
|
"expressionValue": "octal directive\u0001"
|
|
},
|
|
"value": "octal directive\\1"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"type": "Directive",
|
|
"start":19,"end":32,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":32,"index":32}},
|
|
"value": {
|
|
"type": "DirectiveLiteral",
|
|
"start":19,"end":31,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":31,"index":31}},
|
|
"extra": {
|
|
"rawValue": "use strict",
|
|
"raw": "\"use strict\"",
|
|
"expressionValue": "use strict"
|
|
},
|
|
"value": "use strict"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|