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