1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "A", 10 "loc": { 11 "start": { 12 "line": 17, 13 "column": 7 14 }, 15 "end": { 16 "line": 17, 17 "column": 8 18 } 19 } 20 }, 21 "superClass": null, 22 "implements": [], 23 "constructor": { 24 "type": "MethodDefinition", 25 "key": { 26 "type": "Identifier", 27 "name": "constructor", 28 "loc": { 29 "start": { 30 "line": 18, 31 "column": 5 32 }, 33 "end": { 34 "line": 18, 35 "column": 16 36 } 37 } 38 }, 39 "kind": "constructor", 40 "static": false, 41 "optional": false, 42 "computed": false, 43 "value": { 44 "type": "FunctionExpression", 45 "function": { 46 "type": "ScriptFunction", 47 "id": null, 48 "generator": false, 49 "async": false, 50 "expression": false, 51 "params": [], 52 "body": { 53 "type": "BlockStatement", 54 "statements": [ 55 { 56 "type": "ExpressionStatement", 57 "expression": { 58 "type": "AssignmentExpression", 59 "operator": "=", 60 "left": { 61 "type": "MemberExpression", 62 "object": { 63 "type": "ThisExpression", 64 "loc": { 65 "start": { 66 "line": 19, 67 "column": 9 68 }, 69 "end": { 70 "line": 19, 71 "column": 13 72 } 73 } 74 }, 75 "property": { 76 "type": "Identifier", 77 "name": "a", 78 "loc": { 79 "start": { 80 "line": 19, 81 "column": 14 82 }, 83 "end": { 84 "line": 19, 85 "column": 15 86 } 87 } 88 }, 89 "computed": false, 90 "optional": false, 91 "loc": { 92 "start": { 93 "line": 19, 94 "column": 9 95 }, 96 "end": { 97 "line": 19, 98 "column": 15 99 } 100 } 101 }, 102 "right": { 103 "type": "ClassExpression", 104 "definition": { 105 "id": { 106 "type": "Identifier", 107 "name": "B", 108 "loc": { 109 "start": { 110 "line": 19, 111 "column": 24 112 }, 113 "end": { 114 "line": 19, 115 "column": 25 116 } 117 } 118 }, 119 "superClass": null, 120 "implements": [], 121 "constructor": { 122 "type": "MethodDefinition", 123 "key": { 124 "type": "Identifier", 125 "name": "constructor", 126 "loc": { 127 "start": { 128 "line": 1, 129 "column": 1 130 }, 131 "end": { 132 "line": 1, 133 "column": 1 134 } 135 } 136 }, 137 "kind": "constructor", 138 "static": false, 139 "optional": false, 140 "computed": false, 141 "value": { 142 "type": "FunctionExpression", 143 "function": { 144 "type": "ScriptFunction", 145 "id": null, 146 "generator": false, 147 "async": false, 148 "expression": false, 149 "params": [], 150 "body": { 151 "type": "BlockStatement", 152 "statements": [], 153 "loc": { 154 "start": { 155 "line": 1, 156 "column": 1 157 }, 158 "end": { 159 "line": 1, 160 "column": 1 161 } 162 } 163 }, 164 "loc": { 165 "start": { 166 "line": 1, 167 "column": 1 168 }, 169 "end": { 170 "line": 1, 171 "column": 1 172 } 173 } 174 }, 175 "loc": { 176 "start": { 177 "line": 1, 178 "column": 1 179 }, 180 "end": { 181 "line": 1, 182 "column": 1 183 } 184 } 185 }, 186 "overloads": [], 187 "decorators": [], 188 "loc": { 189 "start": { 190 "line": 19, 191 "column": 18 192 }, 193 "end": { 194 "line": 21, 195 "column": 10 196 } 197 } 198 }, 199 "body": [ 200 { 201 "type": "MethodDefinition", 202 "key": { 203 "type": "Identifier", 204 "name": "b", 205 "loc": { 206 "start": { 207 "line": 20, 208 "column": 20 209 }, 210 "end": { 211 "line": 20, 212 "column": 21 213 } 214 } 215 }, 216 "kind": "method", 217 "static": true, 218 "optional": false, 219 "computed": false, 220 "value": { 221 "type": "FunctionExpression", 222 "function": { 223 "type": "ScriptFunction", 224 "id": null, 225 "generator": false, 226 "async": false, 227 "expression": false, 228 "params": [], 229 "body": { 230 "type": "BlockStatement", 231 "statements": [], 232 "loc": { 233 "start": { 234 "line": 20, 235 "column": 24 236 }, 237 "end": { 238 "line": 20, 239 "column": 26 240 } 241 } 242 }, 243 "loc": { 244 "start": { 245 "line": 20, 246 "column": 21 247 }, 248 "end": { 249 "line": 20, 250 "column": 26 251 } 252 } 253 }, 254 "loc": { 255 "start": { 256 "line": 20, 257 "column": 21 258 }, 259 "end": { 260 "line": 20, 261 "column": 26 262 } 263 } 264 }, 265 "overloads": [], 266 "decorators": [], 267 "loc": { 268 "start": { 269 "line": 20, 270 "column": 13 271 }, 272 "end": { 273 "line": 20, 274 "column": 26 275 } 276 } 277 } 278 ], 279 "indexSignatures": [], 280 "loc": { 281 "start": { 282 "line": 19, 283 "column": 26 284 }, 285 "end": { 286 "line": 21, 287 "column": 10 288 } 289 } 290 }, 291 "loc": { 292 "start": { 293 "line": 19, 294 "column": 18 295 }, 296 "end": { 297 "line": 21, 298 "column": 10 299 } 300 } 301 }, 302 "loc": { 303 "start": { 304 "line": 19, 305 "column": 9 306 }, 307 "end": { 308 "line": 21, 309 "column": 10 310 } 311 } 312 }, 313 "loc": { 314 "start": { 315 "line": 19, 316 "column": 9 317 }, 318 "end": { 319 "line": 21, 320 "column": 10 321 } 322 } 323 } 324 ], 325 "loc": { 326 "start": { 327 "line": 18, 328 "column": 19 329 }, 330 "end": { 331 "line": 22, 332 "column": 6 333 } 334 } 335 }, 336 "loc": { 337 "start": { 338 "line": 18, 339 "column": 16 340 }, 341 "end": { 342 "line": 22, 343 "column": 6 344 } 345 } 346 }, 347 "loc": { 348 "start": { 349 "line": 18, 350 "column": 16 351 }, 352 "end": { 353 "line": 22, 354 "column": 6 355 } 356 } 357 }, 358 "overloads": [], 359 "decorators": [], 360 "loc": { 361 "start": { 362 "line": 18, 363 "column": 5 364 }, 365 "end": { 366 "line": 22, 367 "column": 6 368 } 369 } 370 }, 371 "body": [], 372 "indexSignatures": [], 373 "loc": { 374 "start": { 375 "line": 17, 376 "column": 9 377 }, 378 "end": { 379 "line": 23, 380 "column": 2 381 } 382 } 383 }, 384 "decorators": [], 385 "loc": { 386 "start": { 387 "line": 17, 388 "column": 1 389 }, 390 "end": { 391 "line": 23, 392 "column": 2 393 } 394 } 395 } 396 ], 397 "loc": { 398 "start": { 399 "line": 1, 400 "column": 1 401 }, 402 "end": { 403 "line": 24, 404 "column": 1 405 } 406 } 407} 408