1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "AnotherClass", 10 "loc": { 11 "start": { 12 "line": 17, 13 "column": 7 14 }, 15 "end": { 16 "line": 17, 17 "column": 19 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": 1, 31 "column": 1 32 }, 33 "end": { 34 "line": 1, 35 "column": 1 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 "loc": { 56 "start": { 57 "line": 1, 58 "column": 1 59 }, 60 "end": { 61 "line": 1, 62 "column": 1 63 } 64 } 65 }, 66 "loc": { 67 "start": { 68 "line": 1, 69 "column": 1 70 }, 71 "end": { 72 "line": 1, 73 "column": 1 74 } 75 } 76 }, 77 "loc": { 78 "start": { 79 "line": 1, 80 "column": 1 81 }, 82 "end": { 83 "line": 1, 84 "column": 1 85 } 86 } 87 }, 88 "overloads": [], 89 "decorators": [], 90 "loc": { 91 "start": { 92 "line": 17, 93 "column": 1 94 }, 95 "end": { 96 "line": 21, 97 "column": 2 98 } 99 } 100 }, 101 "body": [ 102 { 103 "type": "ClassProperty", 104 "key": { 105 "type": "Identifier", 106 "name": "key", 107 "loc": { 108 "start": { 109 "line": 18, 110 "column": 5 111 }, 112 "end": { 113 "line": 18, 114 "column": 8 115 } 116 } 117 }, 118 "value": { 119 "type": "ObjectExpression", 120 "properties": [ 121 { 122 "type": "Property", 123 "method": false, 124 "shorthand": false, 125 "computed": false, 126 "key": { 127 "type": "Identifier", 128 "name": "a", 129 "loc": { 130 "start": { 131 "line": 20, 132 "column": 30 133 }, 134 "end": { 135 "line": 20, 136 "column": 31 137 } 138 } 139 }, 140 "value": { 141 "type": "StringLiteral", 142 "value": "text", 143 "loc": { 144 "start": { 145 "line": 20, 146 "column": 33 147 }, 148 "end": { 149 "line": 20, 150 "column": 39 151 } 152 } 153 }, 154 "kind": "init", 155 "loc": { 156 "start": { 157 "line": 20, 158 "column": 30 159 }, 160 "end": { 161 "line": 20, 162 "column": 39 163 } 164 } 165 }, 166 { 167 "type": "Property", 168 "method": false, 169 "shorthand": false, 170 "computed": false, 171 "key": { 172 "type": "Identifier", 173 "name": "b", 174 "loc": { 175 "start": { 176 "line": 20, 177 "column": 41 178 }, 179 "end": { 180 "line": 20, 181 "column": 42 182 } 183 } 184 }, 185 "value": { 186 "type": "NumberLiteral", 187 "value": 1, 188 "loc": { 189 "start": { 190 "line": 20, 191 "column": 44 192 }, 193 "end": { 194 "line": 20, 195 "column": 45 196 } 197 } 198 }, 199 "kind": "init", 200 "loc": { 201 "start": { 202 "line": 20, 203 "column": 41 204 }, 205 "end": { 206 "line": 20, 207 "column": 45 208 } 209 } 210 }, 211 { 212 "type": "Property", 213 "method": false, 214 "shorthand": false, 215 "computed": false, 216 "key": { 217 "type": "Identifier", 218 "name": "c", 219 "loc": { 220 "start": { 221 "line": 20, 222 "column": 47 223 }, 224 "end": { 225 "line": 20, 226 "column": 48 227 } 228 } 229 }, 230 "value": { 231 "type": "BooleanLiteral", 232 "value": true, 233 "loc": { 234 "start": { 235 "line": 20, 236 "column": 50 237 }, 238 "end": { 239 "line": 20, 240 "column": 54 241 } 242 } 243 }, 244 "kind": "init", 245 "loc": { 246 "start": { 247 "line": 20, 248 "column": 47 249 }, 250 "end": { 251 "line": 20, 252 "column": 54 253 } 254 } 255 } 256 ], 257 "loc": { 258 "start": { 259 "line": 20, 260 "column": 28 261 }, 262 "end": { 263 "line": 20, 264 "column": 56 265 } 266 } 267 }, 268 "static": false, 269 "readonly": false, 270 "declare": false, 271 "optional": false, 272 "computed": false, 273 "typeAnnotation": { 274 "type": "TSIntersectionType", 275 "types": [ 276 { 277 "type": "TSTypeLiteral", 278 "members": [ 279 { 280 "type": "TSPropertySignature", 281 "computed": false, 282 "optional": false, 283 "readonly": false, 284 "key": { 285 "type": "Identifier", 286 "name": "a", 287 "loc": { 288 "start": { 289 "line": 18, 290 "column": 12 291 }, 292 "end": { 293 "line": 18, 294 "column": 13 295 } 296 } 297 }, 298 "typeAnnotation": { 299 "type": "TSStringKeyword", 300 "loc": { 301 "start": { 302 "line": 18, 303 "column": 15 304 }, 305 "end": { 306 "line": 18, 307 "column": 21 308 } 309 } 310 }, 311 "loc": { 312 "start": { 313 "line": 18, 314 "column": 12 315 }, 316 "end": { 317 "line": 18, 318 "column": 23 319 } 320 } 321 } 322 ], 323 "loc": { 324 "start": { 325 "line": 18, 326 "column": 10 327 }, 328 "end": { 329 "line": 18, 330 "column": 23 331 } 332 } 333 }, 334 { 335 "type": "TSTypeLiteral", 336 "members": [ 337 { 338 "type": "TSPropertySignature", 339 "computed": false, 340 "optional": false, 341 "readonly": false, 342 "key": { 343 "type": "Identifier", 344 "name": "b", 345 "loc": { 346 "start": { 347 "line": 19, 348 "column": 13 349 }, 350 "end": { 351 "line": 19, 352 "column": 14 353 } 354 } 355 }, 356 "typeAnnotation": { 357 "type": "TSNumberKeyword", 358 "loc": { 359 "start": { 360 "line": 19, 361 "column": 16 362 }, 363 "end": { 364 "line": 19, 365 "column": 22 366 } 367 } 368 }, 369 "loc": { 370 "start": { 371 "line": 19, 372 "column": 13 373 }, 374 "end": { 375 "line": 19, 376 "column": 24 377 } 378 } 379 } 380 ], 381 "loc": { 382 "start": { 383 "line": 19, 384 "column": 11 385 }, 386 "end": { 387 "line": 19, 388 "column": 24 389 } 390 } 391 }, 392 { 393 "type": "TSTypeLiteral", 394 "members": [ 395 { 396 "type": "TSPropertySignature", 397 "computed": false, 398 "optional": false, 399 "readonly": false, 400 "key": { 401 "type": "Identifier", 402 "name": "c", 403 "loc": { 404 "start": { 405 "line": 20, 406 "column": 13 407 }, 408 "end": { 409 "line": 20, 410 "column": 14 411 } 412 } 413 }, 414 "typeAnnotation": { 415 "type": "TSBooleanKeyword", 416 "loc": { 417 "start": { 418 "line": 20, 419 "column": 16 420 }, 421 "end": { 422 "line": 20, 423 "column": 23 424 } 425 } 426 }, 427 "loc": { 428 "start": { 429 "line": 20, 430 "column": 13 431 }, 432 "end": { 433 "line": 20, 434 "column": 25 435 } 436 } 437 } 438 ], 439 "loc": { 440 "start": { 441 "line": 20, 442 "column": 11 443 }, 444 "end": { 445 "line": 20, 446 "column": 25 447 } 448 } 449 } 450 ], 451 "loc": { 452 "start": { 453 "line": 18, 454 "column": 10 455 }, 456 "end": { 457 "line": 20, 458 "column": 25 459 } 460 } 461 }, 462 "decorators": [], 463 "loc": { 464 "start": { 465 "line": 18, 466 "column": 5 467 }, 468 "end": { 469 "line": 20, 470 "column": 56 471 } 472 } 473 } 474 ], 475 "indexSignatures": [], 476 "loc": { 477 "start": { 478 "line": 17, 479 "column": 20 480 }, 481 "end": { 482 "line": 21, 483 "column": 2 484 } 485 } 486 }, 487 "decorators": [], 488 "loc": { 489 "start": { 490 "line": 17, 491 "column": 1 492 }, 493 "end": { 494 "line": 21, 495 "column": 2 496 } 497 } 498 } 499 ], 500 "loc": { 501 "start": { 502 "line": 1, 503 "column": 1 504 }, 505 "end": { 506 "line": 21, 507 "column": 2 508 } 509 } 510} 511