Debian Codegraph @

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