mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
43 lines
1.6 KiB
JSON
43 lines
1.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
|
|
"errors": [
|
|
"SyntaxError: Invalid optional chaining in the left-hand side of prefix operation. (1:2)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
|
|
"expression": {
|
|
"type": "UpdateExpression",
|
|
"start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
|
|
"operator": "++",
|
|
"prefix": true,
|
|
"argument": {
|
|
"type": "OptionalMemberExpression",
|
|
"start":2,"end":6,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":6,"index":6}},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start":2,"end":3,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":3,"index":3},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"b"},
|
|
"name": "b"
|
|
},
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|