Debian Codegraph @

tests/fixtures/ecma-version/6/destructuring-and-forOf/loop.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 17
11 }
12 },
13 "range": [
14 0,
15 17
16 ],
17 "body": [
18 {
19 "type": "ForOfStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 17
28 }
29 },
30 "range": [
31 0,
32 17
33 ],
34 "left": {
35 "type": "ArrayPattern",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 5
40 },
41 "end": {
42 "line": 1,
43 "column": 8
44 }
45 },
46 "range": [
47 5,
48 8
49 ],
50 "elements": [
51 {
52 "type": "Identifier",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 6
57 },
58 "end": {
59 "line": 1,
60 "column": 7
61 }
62 },
63 "range": [
64 6,
65 7
66 ],
67 "name": "a"
68 }
69 ]
70 },
71 "right": {
72 "type": "Identifier",
73 "loc": {
74 "start": {
75 "line": 1,
76 "column": 12
77 },
78 "end": {
79 "line": 1,
80 "column": 15
81 }
82 },
83 "range": [
84 12,
85 15
86 ],
87 "name": "foo"
88 },
89 "body": {
90 "type": "EmptyStatement",
91 "loc": {
92 "start": {
93 "line": 1,
94 "column": 16
95 },
96 "end": {
97 "line": 1,
98 "column": 17
99 }
100 },
101 "range": [
102 16,
103 17
104 ]
105 }
106 }
107 ],
108 "sourceType": "script",
109 "tokens": [
110 {
111 "type": "Keyword",
112 "value": "for",
113 "loc": {
114 "start": {
115 "line": 1,
116 "column": 0
117 },
118 "end": {
119 "line": 1,
120 "column": 3
121 }
122 },
123 "range": [
124 0,
125 3
126 ]
127 },
128 {
129 "type": "Punctuator",
130 "value": "(",
131 "loc": {
132 "start": {
133 "line": 1,
134 "column": 4
135 },
136 "end": {
137 "line": 1,
138 "column": 5
139 }
140 },
141 "range": [
142 4,
143 5
144 ]
145 },
146 {
147 "type": "Punctuator",
148 "value": "[",
149 "loc": {
150 "start": {
151 "line": 1,
152 "column": 5
153 },
154 "end": {
155 "line": 1,
156 "column": 6
157 }
158 },
159 "range": [
160 5,
161 6
162 ]
163 },
164 {
165 "type": "Identifier",
166 "value": "a",
167 "loc": {
168 "start": {
169 "line": 1,
170 "column": 6
171 },
172 "end": {
173 "line": 1,
174 "column": 7
175 }
176 },
177 "range": [
178 6,
179 7
180 ]
181 },
182 {
183 "type": "Punctuator",
184 "value": "]",
185 "loc": {
186 "start": {
187 "line": 1,
188 "column": 7
189 },
190 "end": {
191 "line": 1,
192 "column": 8
193 }
194 },
195 "range": [
196 7,
197 8
198 ]
199 },
200 {
201 "type": "Identifier",
202 "value": "of",
203 "loc": {
204 "start": {
205 "line": 1,
206 "column": 9
207 },
208 "end": {
209 "line": 1,
210 "column": 11
211 }
212 },
213 "range": [
214 9,
215 11
216 ]
217 },
218 {
219 "type": "Identifier",
220 "value": "foo",
221 "loc": {
222 "start": {
223 "line": 1,
224 "column": 12
225 },
226 "end": {
227 "line": 1,
228 "column": 15
229 }
230 },
231 "range": [
232 12,
233 15
234 ]
235 },
236 {
237 "type": "Punctuator",
238 "value": ")",
239 "loc": {
240 "start": {
241 "line": 1,
242 "column": 15
243 },
244 "end": {
245 "line": 1,
246 "column": 16
247 }
248 },
249 "range": [
250 15,
251 16
252 ]
253 },
254 {
255 "type": "Punctuator",
256 "value": ";",
257 "loc": {
258 "start": {
259 "line": 1,
260 "column": 16
261 },
262 "end": {
263 "line": 1,
264 "column": 17
265 }
266 },
267 "range": [
268 16,
269 17
270 ]
271 }
272 ]
273 };