Debian Codegraph @

tests/fixtures/ecma-version/6/arrowFunctions/iife.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": 24
11 }
12 },
13 "range": [
14 0,
15 24
16 ],
17 "body": [
18 {
19 "type": "ExpressionStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 24
28 }
29 },
30 "range": [
31 0,
32 24
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 23
44 }
45 },
46 "range": [
47 0,
48 23
49 ],
50 "id": null,
51 "generator": false,
52 "expression": true,
53 "params": [
54 {
55 "type": "Identifier",
56 "loc": {
57 "start": {
58 "line": 1,
59 "column": 0
60 },
61 "end": {
62 "line": 1,
63 "column": 1
64 }
65 },
66 "range": [
67 0,
68 1
69 ],
70 "name": "e"
71 }
72 ],
73 "body": {
74 "type": "ObjectExpression",
75 "loc": {
76 "start": {
77 "line": 1,
78 "column": 6
79 },
80 "end": {
81 "line": 1,
82 "column": 22
83 }
84 },
85 "range": [
86 6,
87 22
88 ],
89 "properties": [
90 {
91 "type": "Property",
92 "loc": {
93 "start": {
94 "line": 1,
95 "column": 8
96 },
97 "end": {
98 "line": 1,
99 "column": 20
100 }
101 },
102 "range": [
103 8,
104 20
105 ],
106 "method": false,
107 "shorthand": false,
108 "computed": false,
109 "key": {
110 "type": "Identifier",
111 "loc": {
112 "start": {
113 "line": 1,
114 "column": 8
115 },
116 "end": {
117 "line": 1,
118 "column": 16
119 }
120 },
121 "range": [
122 8,
123 16
124 ],
125 "name": "property"
126 },
127 "value": {
128 "type": "Literal",
129 "loc": {
130 "start": {
131 "line": 1,
132 "column": 18
133 },
134 "end": {
135 "line": 1,
136 "column": 20
137 }
138 },
139 "range": [
140 18,
141 20
142 ],
143 "value": 42,
144 "raw": "42"
145 },
146 "kind": "init"
147 }
148 ]
149 }
150 }
151 }
152 ],
153 "sourceType": "script",
154 "tokens": [
155 {
156 "type": "Identifier",
157 "value": "e",
158 "loc": {
159 "start": {
160 "line": 1,
161 "column": 0
162 },
163 "end": {
164 "line": 1,
165 "column": 1
166 }
167 },
168 "range": [
169 0,
170 1
171 ]
172 },
173 {
174 "type": "Punctuator",
175 "value": "=>",
176 "loc": {
177 "start": {
178 "line": 1,
179 "column": 2
180 },
181 "end": {
182 "line": 1,
183 "column": 4
184 }
185 },
186 "range": [
187 2,
188 4
189 ]
190 },
191 {
192 "type": "Punctuator",
193 "value": "(",
194 "loc": {
195 "start": {
196 "line": 1,
197 "column": 5
198 },
199 "end": {
200 "line": 1,
201 "column": 6
202 }
203 },
204 "range": [
205 5,
206 6
207 ]
208 },
209 {
210 "type": "Punctuator",
211 "value": "{",
212 "loc": {
213 "start": {
214 "line": 1,
215 "column": 6
216 },
217 "end": {
218 "line": 1,
219 "column": 7
220 }
221 },
222 "range": [
223 6,
224 7
225 ]
226 },
227 {
228 "type": "Identifier",
229 "value": "property",
230 "loc": {
231 "start": {
232 "line": 1,
233 "column": 8
234 },
235 "end": {
236 "line": 1,
237 "column": 16
238 }
239 },
240 "range": [
241 8,
242 16
243 ]
244 },
245 {
246 "type": "Punctuator",
247 "value": ":",
248 "loc": {
249 "start": {
250 "line": 1,
251 "column": 16
252 },
253 "end": {
254 "line": 1,
255 "column": 17
256 }
257 },
258 "range": [
259 16,
260 17
261 ]
262 },
263 {
264 "type": "Numeric",
265 "value": "42",
266 "loc": {
267 "start": {
268 "line": 1,
269 "column": 18
270 },
271 "end": {
272 "line": 1,
273 "column": 20
274 }
275 },
276 "range": [
277 18,
278 20
279 ]
280 },
281 {
282 "type": "Punctuator",
283 "value": "}",
284 "loc": {
285 "start": {
286 "line": 1,
287 "column": 21
288 },
289 "end": {
290 "line": 1,
291 "column": 22
292 }
293 },
294 "range": [
295 21,
296 22
297 ]
298 },
299 {
300 "type": "Punctuator",
301 "value": ")",
302 "loc": {
303 "start": {
304 "line": 1,
305 "column": 22
306 },
307 "end": {
308 "line": 1,
309 "column": 23
310 }
311 },
312 "range": [
313 22,
314 23
315 ]
316 },
317 {
318 "type": "Punctuator",
319 "value": ";",
320 "loc": {
321 "start": {
322 "line": 1,
323 "column": 23
324 },
325 "end": {
326 "line": 1,
327 "column": 24
328 }
329 },
330 "range": [
331 23,
332 24
333 ]
334 }
335 ]
336 };