Debian Codegraph @

tests/fixtures/ecma-version/6/modules/export-default-parenthesized-function.result.js

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