Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-binding-member-expression/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
4 "errors": [
5 "SyntaxError: Binding member expression. (1:9)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
16 "expression": {
17 "type": "ArrowFunctionExpression",
18 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
19 "id": null,
20 "generator": false,
21 "async": true,
22 "params": [
23 {
24 "type": "AssignmentPattern",
25 "start":7,"end":24,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":24,"index":24}},
26 "left": {
27 "type": "ArrayPattern",
28 "start":7,"end":19,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":19,"index":19}},
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":22,"end":24,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":24,"index":24}},
63 "elements": []
64 }
65 }
66 ],
67 "body": {
68 "type": "BlockStatement",
69 "start":29,"end":31,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":31,"index":31}},
70 "body": [],
71 "directives": []
72 }
73 }
74 }
75 ],
76 "directives": []
77 }
78 }