Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-assign-object/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":44,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":44,"index":44}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":44,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":44,"index":44}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":44,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":44,"index":44}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":44,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":44,"index":44}},
16 "id": null,
17 "generator": false,
18 "async": true,
19 "params": [
20 {
21 "type": "ObjectPattern",
22 "start":7,"end":37,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":37,"index":37}},
23 "properties": [
24 {
25 "type": "ObjectProperty",
26 "start":9,"end":21,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":21,"index":21}},
27 "method": false,
28 "key": {
29 "type": "Identifier",
30 "start":9,"end":18,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":18,"index":18},"identifierName":"__proto__"},
31 "name": "__proto__"
32 },
33 "computed": false,
34 "shorthand": false,
35 "value": {
36 "type": "Identifier",
37 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"x"},
38 "name": "x"
39 }
40 },
41 {
42 "type": "ObjectProperty",
43 "start":23,"end":35,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":35,"index":35}},
44 "method": false,
45 "key": {
46 "type": "Identifier",
47 "start":23,"end":32,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":32,"index":32},"identifierName":"__proto__"},
48 "name": "__proto__"
49 },
50 "computed": false,
51 "shorthand": false,
52 "value": {
53 "type": "Identifier",
54 "start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"y"},
55 "name": "y"
56 }
57 }
58 ]
59 }
60 ],
61 "body": {
62 "type": "BlockStatement",
63 "start":42,"end":44,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":44,"index":44}},
64 "body": [],
65 "directives": []
66 }
67 }
68 }
69 ],
70 "directives": []
71 }
72 }