Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/destructuring/lhs-parenthesized-assignment-2/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":1,"end":17,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":17,"index":17}},
16 "operator": "=",
17 "left": {
18 "type": "ArrayPattern",
19 "start":1,"end":12,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":12,"index":12}},
20 "elements": [
21 {
22 "type": "AssignmentPattern",
23 "start":2,"end":10,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":10,"index":10}},
24 "left": {
25 "type": "Identifier",
26 "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"a"},
27 "name": "a",
28 "extra": {
29 "parenthesized": true,
30 "parenStart": 2
31 }
32 },
33 "right": {
34 "type": "ArrayExpression",
35 "start":8,"end":10,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":10,"index":10}},
36 "elements": []
37 }
38 }
39 ]
40 },
41 "right": {
42 "type": "ArrayExpression",
43 "start":15,"end":17,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":17,"index":17}},
44 "elements": []
45 },
46 "extra": {
47 "parenthesized": true,
48 "parenStart": 0
49 }
50 }
51 }
52 ],
53 "directives": []
54 }
55 }