Debian Codegraph @

tests/fixtures/ecma-version/6/modules/export-default-function.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": 29
11 }
12 },
13 "range": [
14 0,
15 29
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": 29
28 }
29 },
30 "range": [
31 0,
32 29
33 ],
34 "declaration": {
35 "type": "FunctionDeclaration",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 15
40 },
41 "end": {
42 "line": 1,
43 "column": 29
44 }
45 },
46 "range": [
47 15,
48 29
49 ],
50 "id": null,
51 "generator": false,
52 "expression": false,
53 "params": [],
54 "body": {
55 "type": "BlockStatement",
56 "loc": {
57 "start": {
58 "line": 1,
59 "column": 27
60 },
61 "end": {
62 "line": 1,
63 "column": 29
64 }
65 },
66 "range": [
67 27,
68 29
69 ],
70 "body": []
71 }
72 }
73 }
74 ],
75 "sourceType": "module",
76 "tokens": [
77 {
78 "type": "Keyword",
79 "value": "export",
80 "loc": {
81 "start": {
82 "line": 1,
83 "column": 0
84 },
85 "end": {
86 "line": 1,
87 "column": 6
88 }
89 },
90 "range": [
91 0,
92 6
93 ]
94 },
95 {
96 "type": "Keyword",
97 "value": "default",
98 "loc": {
99 "start": {
100 "line": 1,
101 "column": 7
102 },
103 "end": {
104 "line": 1,
105 "column": 14
106 }
107 },
108 "range": [
109 7,
110 14
111 ]
112 },
113 {
114 "type": "Keyword",
115 "value": "function",
116 "loc": {
117 "start": {
118 "line": 1,
119 "column": 15
120 },
121 "end": {
122 "line": 1,
123 "column": 23
124 }
125 },
126 "range": [
127 15,
128 23
129 ]
130 },
131 {
132 "type": "Punctuator",
133 "value": "(",
134 "loc": {
135 "start": {
136 "line": 1,
137 "column": 24
138 },
139 "end": {
140 "line": 1,
141 "column": 25
142 }
143 },
144 "range": [
145 24,
146 25
147 ]
148 },
149 {
150 "type": "Punctuator",
151 "value": ")",
152 "loc": {
153 "start": {
154 "line": 1,
155 "column": 25
156 },
157 "end": {
158 "line": 1,
159 "column": 26
160 }
161 },
162 "range": [
163 25,
164 26
165 ]
166 },
167 {
168 "type": "Punctuator",
169 "value": "{",
170 "loc": {
171 "start": {
172 "line": 1,
173 "column": 27
174 },
175 "end": {
176 "line": 1,
177 "column": 28
178 }
179 },
180 "range": [
181 27,
182 28
183 ]
184 },
185 {
186 "type": "Punctuator",
187 "value": "}",
188 "loc": {
189 "start": {
190 "line": 1,
191 "column": 28
192 },
193 "end": {
194 "line": 1,
195 "column": 29
196 }
197 },
198 "range": [
199 28,
200 29
201 ]
202 }
203 ]
204 };