Debian Codegraph @

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