mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
50 lines
1.7 KiB
JSON
50 lines
1.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
|
|
"errors": [
|
|
"SyntaxError: Binding 'eval' in strict mode. (1:9)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":9,"end":13,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":13,"index":13},"identifierName":"eval"},
|
|
"name": "eval"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":16,"end":32,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":32,"index":32}},
|
|
"body": [],
|
|
"directives": [
|
|
{
|
|
"type": "Directive",
|
|
"start":17,"end":30,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":30,"index":30}},
|
|
"value": {
|
|
"type": "DirectiveLiteral",
|
|
"start":17,"end":29,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":29,"index":29}},
|
|
"extra": {
|
|
"rawValue": "use strict",
|
|
"raw": "'use strict'",
|
|
"expressionValue": "use strict"
|
|
},
|
|
"value": "use strict"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|