Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-call/parenthesized-argument-array-pattern-lhs-member/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
13 "expression": {
14 "type": "CallExpression",
15 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
16 "callee": {
17 "type": "Identifier",
18 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"async"},
19 "name": "async"
20 },
21 "arguments": [
22 {
23 "type": "AssignmentExpression",
24 "start":7,"end":25,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":25,"index":25}},
25 "operator": "=",
26 "left": {
27 "type": "ArrayPattern",
28 "start":7,"end":20,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":20,"index":20}},
29 "elements": [
30 {
31 "type": "AssignmentPattern",
32 "start":8,"end":18,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":18,"index":18}},
33 "left": {
34 "type": "MemberExpression",
35 "start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12}},
36 "object": {
37 "type": "Identifier",
38 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"a"},
39 "name": "a"
40 },
41 "computed": false,
42 "property": {
43 "type": "Identifier",
44 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"b"},
45 "name": "b"
46 },
47 "extra": {
48 "parenthesized": true,
49 "parenStart": 8
50 }
51 },
52 "right": {
53 "type": "ArrayExpression",
54 "start":16,"end":18,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":18,"index":18}},
55 "elements": []
56 }
57 }
58 ]
59 },
60 "right": {
61 "type": "ArrayExpression",
62 "start":23,"end":25,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":25,"index":25}},
63 "elements": []
64 }
65 }
66 ]
67 }
68 }
69 ],
70 "directives": []
71 }
72 }