Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-nested-param/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
4 "errors": [
5 "SyntaxError: Binding member expression. (1:24)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
16 "expression": {
17 "type": "ArrowFunctionExpression",
18 "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":53,"index":53}},
19 "id": null,
20 "generator": false,
21 "async": false,
22 "params": [
23 {
24 "type": "ArrayPattern",
25 "start":1,"end":49,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":49,"index":49}},
26 "elements": [
27 {
28 "type": "ArrayPattern",
29 "start":2,"end":48,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":48,"index":48}},
30 "elements": [
31 {
32 "type": "ArrayPattern",
33 "start":3,"end":47,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":47,"index":47}},
34 "elements": [
35 {
36 "type": "ArrayPattern",
37 "start":4,"end":46,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":46,"index":46}},
38 "elements": [
39 {
40 "type": "ArrayPattern",
41 "start":5,"end":45,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":45,"index":45}},
42 "elements": [
43 {
44 "type": "ArrayPattern",
45 "start":6,"end":44,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":44,"index":44}},
46 "elements": [
47 {
48 "type": "ArrayPattern",
49 "start":7,"end":43,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":43,"index":43}},
50 "elements": [
51 {
52 "type": "ArrayPattern",
53 "start":8,"end":42,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":42,"index":42}},
54 "elements": [
55 {
56 "type": "ArrayPattern",
57 "start":9,"end":41,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":41,"index":41}},
58 "elements": [
59 {
60 "type": "ArrayPattern",
61 "start":10,"end":40,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":40,"index":40}},
62 "elements": [
63 {
64 "type": "ArrayPattern",
65 "start":11,"end":39,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":39,"index":39}},
66 "elements": [
67 {
68 "type": "ArrayPattern",
69 "start":12,"end":38,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":38,"index":38}},
70 "elements": [
71 {
72 "type": "ArrayPattern",
73 "start":13,"end":37,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":37,"index":37}},
74 "elements": [
75 {
76 "type": "ArrayPattern",
77 "start":14,"end":36,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":36,"index":36}},
78 "elements": [
79 {
80 "type": "ArrayPattern",
81 "start":15,"end":35,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":35,"index":35}},
82 "elements": [
83 {
84 "type": "ArrayPattern",
85 "start":16,"end":34,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":34,"index":34}},
86 "elements": [
87 {
88 "type": "ArrayPattern",
89 "start":17,"end":33,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":33,"index":33}},
90 "elements": [
91 {
92 "type": "ArrayPattern",
93 "start":18,"end":32,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":32,"index":32}},
94 "elements": [
95 {
96 "type": "ArrayPattern",
97 "start":19,"end":31,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":31,"index":31}},
98 "elements": [
99 {
100 "type": "ArrayPattern",
101 "start":20,"end":30,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":30,"index":30}},
102 "elements": [
103 {
104 "type": "ObjectPattern",
105 "start":21,"end":29,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":29,"index":29}},
106 "properties": [
107 {
108 "type": "ObjectProperty",
109 "start":22,"end":28,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":28,"index":28}},
110 "method": false,
111 "key": {
112 "type": "Identifier",
113 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"a"},
114 "name": "a"
115 },
116 "computed": false,
117 "shorthand": false,
118 "value": {
119 "type": "MemberExpression",
120 "start":24,"end":28,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":28,"index":28}},
121 "object": {
122 "type": "Identifier",
123 "start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"b"},
124 "name": "b"
125 },
126 "computed": true,
127 "property": {
128 "type": "NumericLiteral",
129 "start":26,"end":27,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":27,"index":27}},
130 "extra": {
131 "rawValue": 0,
132 "raw": "0"
133 },
134 "value": 0
135 }
136 }
137 }
138 ]
139 }
140 ]
141 }
142 ]
143 }
144 ]
145 }
146 ]
147 }
148 ]
149 }
150 ]
151 }
152 ]
153 }
154 ]
155 }
156 ]
157 }
158 ]
159 }
160 ]
161 }
162 ]
163 }
164 ]
165 }
166 ]
167 }
168 ]
169 }
170 ]
171 }
172 ]
173 }
174 ]
175 }
176 ]
177 }
178 ]
179 }
180 ],
181 "body": {
182 "type": "NumericLiteral",
183 "start":52,"end":53,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":53,"index":53}},
184 "extra": {
185 "rawValue": 0,
186 "raw": "0"
187 },
188 "value": 0
189 }
190 }
191 }
192 ],
193 "directives": []
194 }
195 }