Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-group-assignment/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
4 "errors": [
5 "SyntaxError: Invalid parenthesized assignment pattern. (1:1)",
6 "SyntaxError: Invalid left-hand side in assignment expression. (1:1)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
11 "sourceType": "script",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExpressionStatement",
16 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
17 "expression": {
18 "type": "AssignmentExpression",
19 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
20 "operator": "=",
21 "left": {
22 "type": "SequenceExpression",
23 "start":1,"end":4,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":4,"index":4}},
24 "expressions": [
25 {
26 "type": "Identifier",
27 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2},"identifierName":"a"},
28 "name": "a"
29 },
30 {
31 "type": "Identifier",
32 "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"b"},
33 "name": "b"
34 }
35 ],
36 "extra": {
37 "parenthesized": true,
38 "parenStart": 0
39 }
40 },
41 "right": {
42 "type": "SequenceExpression",
43 "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
44 "expressions": [
45 {
46 "type": "Identifier",
47 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"c"},
48 "name": "c"
49 },
50 {
51 "type": "Identifier",
52 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"d"},
53 "name": "d"
54 }
55 ],
56 "extra": {
57 "parenthesized": true,
58 "parenStart": 6
59 }
60 }
61 }
62 }
63 ],
64 "directives": []
65 }
66 }