Debian Codegraph @

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