Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/destructuring/duplicate-proto-2/output.json

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