Debian Codegraph @

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