Debian Codegraph @

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