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 "annotations": [], 189 "loc": { 190 "start": { 191 "line": 19, 192 "column": 18 193 }, 194 "end": { 195 "line": 21, 196 "column": 10 197 } 198 } 199 }, 200 "body": [ 201 { 202 "type": "MethodDefinition", 203 "key": { 204 "type": "Identifier", 205 "name": "b", 206 "loc": { 207 "start": { 208 "line": 20, 209 "column": 20 210 }, 211 "end": { 212 "line": 20, 213 "column": 21 214 } 215 } 216 }, 217 "kind": "method", 218 "static": true, 219 "optional": false, 220 "computed": false, 221 "value": { 222 "type": "FunctionExpression", 223 "function": { 224 "type": "ScriptFunction", 225 "id": null, 226 "generator": false, 227 "async": false, 228 "expression": false, 229 "params": [], 230 "body": { 231 "type": "BlockStatement", 232 "statements": [], 233 "loc": { 234 "start": { 235 "line": 20, 236 "column": 24 237 }, 238 "end": { 239 "line": 20, 240 "column": 26 241 } 242 } 243 }, 244 "loc": { 245 "start": { 246 "line": 20, 247 "column": 21 248 }, 249 "end": { 250 "line": 20, 251 "column": 26 252 } 253 } 254 }, 255 "loc": { 256 "start": { 257 "line": 20, 258 "column": 21 259 }, 260 "end": { 261 "line": 20, 262 "column": 26 263 } 264 } 265 }, 266 "overloads": [], 267 "decorators": [], 268 "annotations": [], 269 "loc": { 270 "start": { 271 "line": 20, 272 "column": 13 273 }, 274 "end": { 275 "line": 20, 276 "column": 26 277 } 278 } 279 } 280 ], 281 "indexSignatures": [], 282 "loc": { 283 "start": { 284 "line": 19, 285 "column": 26 286 }, 287 "end": { 288 "line": 21, 289 "column": 10 290 } 291 } 292 }, 293 "loc": { 294 "start": { 295 "line": 19, 296 "column": 18 297 }, 298 "end": { 299 "line": 21, 300 "column": 10 301 } 302 } 303 }, 304 "loc": { 305 "start": { 306 "line": 19, 307 "column": 9 308 }, 309 "end": { 310 "line": 21, 311 "column": 10 312 } 313 } 314 }, 315 "loc": { 316 "start": { 317 "line": 19, 318 "column": 9 319 }, 320 "end": { 321 "line": 21, 322 "column": 10 323 } 324 } 325 } 326 ], 327 "loc": { 328 "start": { 329 "line": 18, 330 "column": 19 331 }, 332 "end": { 333 "line": 22, 334 "column": 6 335 } 336 } 337 }, 338 "loc": { 339 "start": { 340 "line": 18, 341 "column": 16 342 }, 343 "end": { 344 "line": 22, 345 "column": 6 346 } 347 } 348 }, 349 "loc": { 350 "start": { 351 "line": 18, 352 "column": 16 353 }, 354 "end": { 355 "line": 22, 356 "column": 6 357 } 358 } 359 }, 360 "overloads": [], 361 "decorators": [], 362 "annotations": [], 363 "loc": { 364 "start": { 365 "line": 18, 366 "column": 5 367 }, 368 "end": { 369 "line": 22, 370 "column": 6 371 } 372 } 373 }, 374 "body": [], 375 "indexSignatures": [], 376 "loc": { 377 "start": { 378 "line": 17, 379 "column": 9 380 }, 381 "end": { 382 "line": 23, 383 "column": 2 384 } 385 } 386 }, 387 "decorators": [], 388 "isAnnotationDeclaration": false, 389 "loc": { 390 "start": { 391 "line": 17, 392 "column": 1 393 }, 394 "end": { 395 "line": 23, 396 "column": 2 397 } 398 } 399 } 400 ], 401 "loc": { 402 "start": { 403 "line": 1, 404 "column": 1 405 }, 406 "end": { 407 "line": 24, 408 "column": 1 409 } 410 } 411} 412