Debian Codegraph @

tests/fixtures/ecma-version/6/modules-and-classes/class-default-anonymous-extends.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": 36
11 }
12 },
13 "range": [
14 0,
15 36
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": 35
28 }
29 },
30 "range": [
31 0,
32 35
33 ],
34 "declaration": {
35 "type": "ClassDeclaration",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 15
40 },
41 "end": {
42 "line": 1,
43 "column": 35
44 }
45 },
46 "range": [
47 15,
48 35
49 ],
50 "id": null,
51 "superClass": {
52 "type": "Identifier",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 29
57 },
58 "end": {
59 "line": 1,
60 "column": 32
61 }
62 },
63 "range": [
64 29,
65 32
66 ],
67 "name": "bar"
68 },
69 "body": {
70 "type": "ClassBody",
71 "loc": {
72 "start": {
73 "line": 1,
74 "column": 33
75 },
76 "end": {
77 "line": 1,
78 "column": 35
79 }
80 },
81 "range": [
82 33,
83 35
84 ],
85 "body": []
86 }
87 }
88 },
89 {
90 "type": "EmptyStatement",
91 "loc": {
92 "start": {
93 "line": 1,
94 "column": 35
95 },
96 "end": {
97 "line": 1,
98 "column": 36
99 }
100 },
101 "range": [
102 35,
103 36
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": "Keyword",
165 "value": "extends",
166 "loc": {
167 "start": {
168 "line": 1,
169 "column": 21
170 },
171 "end": {
172 "line": 1,
173 "column": 28
174 }
175 },
176 "range": [
177 21,
178 28
179 ]
180 },
181 {
182 "type": "Identifier",
183 "value": "bar",
184 "loc": {
185 "start": {
186 "line": 1,
187 "column": 29
188 },
189 "end": {
190 "line": 1,
191 "column": 32
192 }
193 },
194 "range": [
195 29,
196 32
197 ]
198 },
199 {
200 "type": "Punctuator",
201 "value": "{",
202 "loc": {
203 "start": {
204 "line": 1,
205 "column": 33
206 },
207 "end": {
208 "line": 1,
209 "column": 34
210 }
211 },
212 "range": [
213 33,
214 34
215 ]
216 },
217 {
218 "type": "Punctuator",
219 "value": "}",
220 "loc": {
221 "start": {
222 "line": 1,
223 "column": 34
224 },
225 "end": {
226 "line": 1,
227 "column": 35
228 }
229 },
230 "range": [
231 34,
232 35
233 ]
234 },
235 {
236 "type": "Punctuator",
237 "value": ";",
238 "loc": {
239 "start": {
240 "line": 1,
241 "column": 35
242 },
243 "end": {
244 "line": 1,
245 "column": 36
246 }
247 },
248 "range": [
249 35,
250 36
251 ]
252 }
253 ]
254 };