Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":1,"end":18,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":18,"index":18}},
16 "operator": "=",
17 "left": {
18 "type": "ObjectPattern",
19 "start":1,"end":13,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":13,"index":13}},
20 "properties": [
21 {
22 "type": "ObjectProperty",
23 "start":3,"end":11,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":11,"index":11}},
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": "MemberExpression",
34 "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
35 "object": {
36 "type": "Identifier",
37 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"a"},
38 "name": "a"
39 },
40 "computed": false,
41 "property": {
42 "type": "Identifier",
43 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"b"},
44 "name": "b"
45 },
46 "extra": {
47 "parenthesized": true,
48 "parenStart": 6
49 }
50 }
51 }
52 ]
53 },
54 "right": {
55 "type": "ObjectExpression",
56 "start":16,"end":18,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":18,"index":18}},
57 "properties": []
58 },
59 "extra": {
60 "parenthesized": true,
61 "parenStart": 0
62 }
63 }
64 }
65 ],
66 "directives": []
67 }
68 }