Debian Codegraph @

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