Debian Codegraph @

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