Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":1,"end":26,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":26,"index":26}},
16 "operator": "=",
17 "left": {
18 "type": "ObjectPattern",
19 "start":1,"end":21,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":21,"index":21}},
20 "properties": [
21 {
22 "type": "ObjectProperty",
23 "start":3,"end":19,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":19,"index":19}},
24 "method": false,
25 "key": {
26 "type": "Identifier",
27 "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"a"},
28 "name": "a"
29 },
30 "computed": false,
31 "shorthand": false,
32 "value": {
33 "type": "AssignmentPattern",
34 "start":6,"end":19,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":19,"index":19}},
35 "left": {
36 "type": "MemberExpression",
37 "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
38 "object": {
39 "type": "Identifier",
40 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"a"},
41 "name": "a"
42 },
43 "computed": false,
44 "property": {
45 "type": "Identifier",
46 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"b"},
47 "name": "b"
48 },
49 "extra": {
50 "parenthesized": true,
51 "parenStart": 6
52 }
53 },
54 "right": {
55 "type": "MemberExpression",
56 "start":15,"end":18,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":18,"index":18}},
57 "object": {
58 "type": "Identifier",
59 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"c"},
60 "name": "c"
61 },
62 "computed": false,
63 "property": {
64 "type": "Identifier",
65 "start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18},"identifierName":"d"},
66 "name": "d"
67 },
68 "extra": {
69 "parenthesized": true,
70 "parenStart": 14
71 }
72 }
73 }
74 }
75 ]
76 },
77 "right": {
78 "type": "ObjectExpression",
79 "start":24,"end":26,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":26,"index":26}},
80 "properties": []
81 },
82 "extra": {
83 "parenthesized": true,
84 "parenStart": 0
85 }
86 }
87 }
88 ],
89 "directives": []
90 }
91 }