mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
67 lines
2.5 KiB
JSON
67 lines
2.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
|
|
"errors": [
|
|
"SyntaxError: Invalid parenthesized assignment pattern. (1:1)",
|
|
"SyntaxError: Invalid left-hand side in assignment expression. (1:1)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "SequenceExpression",
|
|
"start":1,"end":4,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":4,"index":4}},
|
|
"expressions": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"b"},
|
|
"name": "b"
|
|
}
|
|
],
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 0
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "SequenceExpression",
|
|
"start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
|
|
"expressions": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"c"},
|
|
"name": "c"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"d"},
|
|
"name": "d"
|
|
}
|
|
],
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 6
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|