Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":50,"index":50}},
16 "operator": "=",
17 "left": {
18 "type": "ArrayPattern",
19 "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
20 "elements": [
21 {
22 "type": "ArrayPattern",
23 "start":1,"end":47,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":47,"index":47}},
24 "elements": [
25 {
26 "type": "ArrayPattern",
27 "start":2,"end":46,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":46,"index":46}},
28 "elements": [
29 {
30 "type": "ArrayPattern",
31 "start":3,"end":45,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":45,"index":45}},
32 "elements": [
33 {
34 "type": "ArrayPattern",
35 "start":4,"end":44,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":44,"index":44}},
36 "elements": [
37 {
38 "type": "ArrayPattern",
39 "start":5,"end":43,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":43,"index":43}},
40 "elements": [
41 {
42 "type": "ArrayPattern",
43 "start":6,"end":42,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":42,"index":42}},
44 "elements": [
45 {
46 "type": "ArrayPattern",
47 "start":7,"end":41,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":41,"index":41}},
48 "elements": [
49 {
50 "type": "ArrayPattern",
51 "start":8,"end":40,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":40,"index":40}},
52 "elements": [
53 {
54 "type": "ArrayPattern",
55 "start":9,"end":39,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":39,"index":39}},
56 "elements": [
57 {
58 "type": "ArrayPattern",
59 "start":10,"end":38,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":38,"index":38}},
60 "elements": [
61 {
62 "type": "ArrayPattern",
63 "start":11,"end":37,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":37,"index":37}},
64 "elements": [
65 {
66 "type": "ArrayPattern",
67 "start":12,"end":36,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":36,"index":36}},
68 "elements": [
69 {
70 "type": "ArrayPattern",
71 "start":13,"end":35,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":35,"index":35}},
72 "elements": [
73 {
74 "type": "ArrayPattern",
75 "start":14,"end":34,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":34,"index":34}},
76 "elements": [
77 {
78 "type": "ArrayPattern",
79 "start":15,"end":33,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":33,"index":33}},
80 "elements": [
81 {
82 "type": "ArrayPattern",
83 "start":16,"end":32,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":32,"index":32}},
84 "elements": [
85 {
86 "type": "ArrayPattern",
87 "start":17,"end":31,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":31,"index":31}},
88 "elements": [
89 {
90 "type": "ArrayPattern",
91 "start":18,"end":30,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":30,"index":30}},
92 "elements": [
93 {
94 "type": "ArrayPattern",
95 "start":19,"end":29,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":29,"index":29}},
96 "elements": [
97 {
98 "type": "ObjectPattern",
99 "start":20,"end":28,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":28,"index":28}},
100 "properties": [
101 {
102 "type": "ObjectProperty",
103 "start":21,"end":27,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":27,"index":27}},
104 "method": false,
105 "key": {
106 "type": "Identifier",
107 "start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"a"},
108 "name": "a"
109 },
110 "computed": false,
111 "shorthand": true,
112 "value": {
113 "type": "AssignmentPattern",
114 "start":21,"end":27,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":27,"index":27}},
115 "left": {
116 "type": "Identifier",
117 "start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"a"},
118 "name": "a"
119 },
120 "right": {
121 "type": "MemberExpression",
122 "start":23,"end":27,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":27,"index":27}},
123 "object": {
124 "type": "Identifier",
125 "start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24},"identifierName":"b"},
126 "name": "b"
127 },
128 "computed": true,
129 "property": {
130 "type": "NumericLiteral",
131 "start":25,"end":26,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":26,"index":26}},
132 "extra": {
133 "rawValue": 0,
134 "raw": "0"
135 },
136 "value": 0
137 }
138 }
139 },
140 "extra": {
141 "shorthand": true
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 }
182 ]
183 }
184 ]
185 },
186 "right": {
187 "type": "NumericLiteral",
188 "start":49,"end":50,"loc":{"start":{"line":1,"column":49,"index":49},"end":{"line":1,"column":50,"index":50}},
189 "extra": {
190 "rawValue": 0,
191 "raw": "0"
192 },
193 "value": 0
194 }
195 }
196 }
197 ],
198 "directives": []
199 }
200 }