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