Debian Codegraph @

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