1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "Test1", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 16, 14 "column": 14 15 }, 16 "end": { 17 "line": 16, 18 "column": 19 19 } 20 } 21 }, 22 "superClass": null, 23 "implements": [], 24 "body": [ 25 { 26 "type": "ClassProperty", 27 "key": { 28 "type": "Identifier", 29 "name": "name", 30 "decorators": [], 31 "loc": { 32 "start": { 33 "line": 17, 34 "column": 5 35 }, 36 "end": { 37 "line": 17, 38 "column": 9 39 } 40 } 41 }, 42 "accessibility": "public", 43 "static": false, 44 "readonly": false, 45 "declare": false, 46 "optional": false, 47 "computed": false, 48 "typeAnnotation": { 49 "type": "ETSTypeReference", 50 "part": { 51 "type": "ETSTypeReferencePart", 52 "name": { 53 "type": "Identifier", 54 "name": "String", 55 "decorators": [], 56 "loc": { 57 "start": { 58 "line": 17, 59 "column": 10 60 }, 61 "end": { 62 "line": 17, 63 "column": 16 64 } 65 } 66 }, 67 "loc": { 68 "start": { 69 "line": 17, 70 "column": 10 71 }, 72 "end": { 73 "line": 17, 74 "column": 17 75 } 76 } 77 }, 78 "loc": { 79 "start": { 80 "line": 17, 81 "column": 10 82 }, 83 "end": { 84 "line": 17, 85 "column": 17 86 } 87 } 88 }, 89 "definite": false, 90 "decorators": [], 91 "loc": { 92 "start": { 93 "line": 17, 94 "column": 5 95 }, 96 "end": { 97 "line": 17, 98 "column": 17 99 } 100 } 101 }, 102 { 103 "type": "MethodDefinition", 104 "key": { 105 "type": "Identifier", 106 "name": "constructor", 107 "decorators": [], 108 "loc": { 109 "start": { 110 "line": 1, 111 "column": 1 112 }, 113 "end": { 114 "line": 1, 115 "column": 1 116 } 117 } 118 }, 119 "kind": "constructor", 120 "static": false, 121 "optional": false, 122 "computed": false, 123 "value": { 124 "type": "FunctionExpression", 125 "function": { 126 "type": "ScriptFunction", 127 "id": { 128 "type": "Identifier", 129 "name": "constructor", 130 "decorators": [], 131 "loc": { 132 "start": { 133 "line": 1, 134 "column": 1 135 }, 136 "end": { 137 "line": 1, 138 "column": 1 139 } 140 } 141 }, 142 "generator": false, 143 "async": false, 144 "expression": false, 145 "params": [], 146 "body": { 147 "type": "BlockStatement", 148 "statements": [], 149 "loc": { 150 "start": { 151 "line": 1, 152 "column": 1 153 }, 154 "end": { 155 "line": 1, 156 "column": 1 157 } 158 } 159 }, 160 "loc": { 161 "start": { 162 "line": 1, 163 "column": 1 164 }, 165 "end": { 166 "line": 1, 167 "column": 1 168 } 169 } 170 }, 171 "loc": { 172 "start": { 173 "line": 1, 174 "column": 1 175 }, 176 "end": { 177 "line": 1, 178 "column": 1 179 } 180 } 181 }, 182 "overloads": [], 183 "decorators": [], 184 "loc": { 185 "start": { 186 "line": 18, 187 "column": 2 188 }, 189 "end": { 190 "line": 18, 191 "column": 2 192 } 193 } 194 } 195 ], 196 "loc": { 197 "start": { 198 "line": 16, 199 "column": 19 200 }, 201 "end": { 202 "line": 18, 203 "column": 2 204 } 205 } 206 }, 207 "loc": { 208 "start": { 209 "line": 16, 210 "column": 8 211 }, 212 "end": { 213 "line": 18, 214 "column": 2 215 } 216 } 217 }, 218 { 219 "type": "ClassDeclaration", 220 "definition": { 221 "id": { 222 "type": "Identifier", 223 "name": "Test2", 224 "decorators": [], 225 "loc": { 226 "start": { 227 "line": 19, 228 "column": 14 229 }, 230 "end": { 231 "line": 19, 232 "column": 19 233 } 234 } 235 }, 236 "superClass": null, 237 "implements": [], 238 "body": [ 239 { 240 "type": "ClassProperty", 241 "key": { 242 "type": "Identifier", 243 "name": "name", 244 "decorators": [], 245 "loc": { 246 "start": { 247 "line": 20, 248 "column": 5 249 }, 250 "end": { 251 "line": 20, 252 "column": 9 253 } 254 } 255 }, 256 "accessibility": "public", 257 "static": false, 258 "readonly": false, 259 "declare": false, 260 "optional": false, 261 "computed": false, 262 "typeAnnotation": { 263 "type": "ETSTypeReference", 264 "part": { 265 "type": "ETSTypeReferencePart", 266 "name": { 267 "type": "Identifier", 268 "name": "String", 269 "decorators": [], 270 "loc": { 271 "start": { 272 "line": 20, 273 "column": 10 274 }, 275 "end": { 276 "line": 20, 277 "column": 16 278 } 279 } 280 }, 281 "loc": { 282 "start": { 283 "line": 20, 284 "column": 10 285 }, 286 "end": { 287 "line": 20, 288 "column": 17 289 } 290 } 291 }, 292 "loc": { 293 "start": { 294 "line": 20, 295 "column": 10 296 }, 297 "end": { 298 "line": 20, 299 "column": 17 300 } 301 } 302 }, 303 "definite": false, 304 "decorators": [], 305 "loc": { 306 "start": { 307 "line": 20, 308 "column": 5 309 }, 310 "end": { 311 "line": 20, 312 "column": 17 313 } 314 } 315 }, 316 { 317 "type": "MethodDefinition", 318 "key": { 319 "type": "Identifier", 320 "name": "constructor", 321 "decorators": [], 322 "loc": { 323 "start": { 324 "line": 1, 325 "column": 1 326 }, 327 "end": { 328 "line": 1, 329 "column": 1 330 } 331 } 332 }, 333 "kind": "constructor", 334 "static": false, 335 "optional": false, 336 "computed": false, 337 "value": { 338 "type": "FunctionExpression", 339 "function": { 340 "type": "ScriptFunction", 341 "id": { 342 "type": "Identifier", 343 "name": "constructor", 344 "decorators": [], 345 "loc": { 346 "start": { 347 "line": 1, 348 "column": 1 349 }, 350 "end": { 351 "line": 1, 352 "column": 1 353 } 354 } 355 }, 356 "generator": false, 357 "async": false, 358 "expression": false, 359 "params": [], 360 "body": { 361 "type": "BlockStatement", 362 "statements": [], 363 "loc": { 364 "start": { 365 "line": 1, 366 "column": 1 367 }, 368 "end": { 369 "line": 1, 370 "column": 1 371 } 372 } 373 }, 374 "loc": { 375 "start": { 376 "line": 1, 377 "column": 1 378 }, 379 "end": { 380 "line": 1, 381 "column": 1 382 } 383 } 384 }, 385 "loc": { 386 "start": { 387 "line": 1, 388 "column": 1 389 }, 390 "end": { 391 "line": 1, 392 "column": 1 393 } 394 } 395 }, 396 "overloads": [], 397 "decorators": [], 398 "loc": { 399 "start": { 400 "line": 21, 401 "column": 2 402 }, 403 "end": { 404 "line": 21, 405 "column": 2 406 } 407 } 408 } 409 ], 410 "loc": { 411 "start": { 412 "line": 19, 413 "column": 19 414 }, 415 "end": { 416 "line": 21, 417 "column": 2 418 } 419 } 420 }, 421 "loc": { 422 "start": { 423 "line": 19, 424 "column": 8 425 }, 426 "end": { 427 "line": 21, 428 "column": 2 429 } 430 } 431 }, 432 { 433 "type": "ClassDeclaration", 434 "definition": { 435 "id": { 436 "type": "Identifier", 437 "name": "ETSGLOBAL", 438 "decorators": [], 439 "loc": { 440 "start": { 441 "line": 1, 442 "column": 1 443 }, 444 "end": { 445 "line": 1, 446 "column": 1 447 } 448 } 449 }, 450 "superClass": null, 451 "implements": [], 452 "body": [ 453 { 454 "type": "MethodDefinition", 455 "key": { 456 "type": "Identifier", 457 "name": "_$init$_", 458 "decorators": [], 459 "loc": { 460 "start": { 461 "line": 1, 462 "column": 1 463 }, 464 "end": { 465 "line": 1, 466 "column": 1 467 } 468 } 469 }, 470 "kind": "method", 471 "accessibility": "public", 472 "static": true, 473 "optional": false, 474 "computed": false, 475 "value": { 476 "type": "FunctionExpression", 477 "function": { 478 "type": "ScriptFunction", 479 "id": { 480 "type": "Identifier", 481 "name": "_$init$_", 482 "decorators": [], 483 "loc": { 484 "start": { 485 "line": 1, 486 "column": 1 487 }, 488 "end": { 489 "line": 1, 490 "column": 1 491 } 492 } 493 }, 494 "generator": false, 495 "async": false, 496 "expression": false, 497 "params": [], 498 "body": { 499 "type": "BlockStatement", 500 "statements": [], 501 "loc": { 502 "start": { 503 "line": 1, 504 "column": 1 505 }, 506 "end": { 507 "line": 1, 508 "column": 1 509 } 510 } 511 }, 512 "loc": { 513 "start": { 514 "line": 1, 515 "column": 1 516 }, 517 "end": { 518 "line": 1, 519 "column": 1 520 } 521 } 522 }, 523 "loc": { 524 "start": { 525 "line": 1, 526 "column": 1 527 }, 528 "end": { 529 "line": 1, 530 "column": 1 531 } 532 } 533 }, 534 "overloads": [], 535 "decorators": [], 536 "loc": { 537 "start": { 538 "line": 1, 539 "column": 1 540 }, 541 "end": { 542 "line": 1, 543 "column": 1 544 } 545 } 546 } 547 ], 548 "loc": { 549 "start": { 550 "line": 1, 551 "column": 1 552 }, 553 "end": { 554 "line": 1, 555 "column": 1 556 } 557 } 558 }, 559 "loc": { 560 "start": { 561 "line": 1, 562 "column": 1 563 }, 564 "end": { 565 "line": 1, 566 "column": 1 567 } 568 } 569 } 570 ], 571 "loc": { 572 "start": { 573 "line": 1, 574 "column": 1 575 }, 576 "end": { 577 "line": 22, 578 "column": 1 579 } 580 } 581} 582