mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
77 lines
3.0 KiB
JSON
77 lines
3.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
|
|
"errors": [
|
|
"SyntaxError: Binding 'arguments' in strict mode. (1:47)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
|
|
"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":63,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":63,"index":63}},
|
|
"body": [
|
|
{
|
|
"type": "TryStatement",
|
|
"start":32,"end":61,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":61,"index":61}},
|
|
"block": {
|
|
"type": "BlockStatement",
|
|
"start":36,"end":39,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":39,"index":39}},
|
|
"body": [],
|
|
"directives": []
|
|
},
|
|
"handler": {
|
|
"type": "CatchClause",
|
|
"start":40,"end":61,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":61,"index":61}},
|
|
"param": {
|
|
"type": "Identifier",
|
|
"start":47,"end":56,"loc":{"start":{"line":1,"column":47,"index":47},"end":{"line":1,"column":56,"index":56},"identifierName":"arguments"},
|
|
"name": "arguments"
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":58,"end":61,"loc":{"start":{"line":1,"column":58,"index":58},"end":{"line":1,"column":61,"index":61}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
"finalizer": null
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"type": "Directive",
|
|
"start":18,"end":31,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":31,"index":31}},
|
|
"value": {
|
|
"type": "DirectiveLiteral",
|
|
"start":18,"end":30,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":30,"index":30}},
|
|
"extra": {
|
|
"rawValue": "use strict",
|
|
"raw": "'use strict'",
|
|
"expressionValue": "use strict"
|
|
},
|
|
"value": "use strict"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|