mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
|
|
"errors": [
|
|
"SyntaxError: Binding invalid left-hand side in function parameter list. (1:1)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
|
|
"expression": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"start":1,"end":3,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":3,"index":3}},
|
|
"extra": {
|
|
"rawValue": 10,
|
|
"raw": "10"
|
|
},
|
|
"value": 10
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "NumericLiteral",
|
|
"start":8,"end":10,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":10,"index":10}},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "00"
|
|
},
|
|
"value": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|