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_4.ets" 16 }, 17 "end": { 18 "line": 1, 19 "column": 1, 20 "program": "string_template_4.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_4.ets" 125 }, 126 "end": { 127 "line": 1, 128 "column": 1, 129 "program": "string_template_4.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_4.ets" 144 }, 145 "end": { 146 "line": 16, 147 "column": 14, 148 "program": "string_template_4.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_4.ets" 170 }, 171 "end": { 172 "line": 16, 173 "column": 14, 174 "program": "string_template_4.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_4.ets" 199 }, 200 "end": { 201 "line": 17, 202 "column": 9, 203 "program": "string_template_4.ets" 204 } 205 } 206 }, 207 "init": { 208 "type": "TemplateLiteral", 209 "expressions": [ 210 { 211 "type": "TemplateLiteral", 212 "expressions": [], 213 "quasis": [ 214 { 215 "type": "TemplateElement", 216 "value": { 217 "raw": "backtick = \`", 218 "cooked": "backtick = `" 219 }, 220 "loc": { 221 "start": { 222 "line": 17, 223 "column": 23, 224 "program": "string_template_4.ets" 225 }, 226 "end": { 227 "line": 17, 228 "column": 36, 229 "program": "string_template_4.ets" 230 } 231 } 232 } 233 ], 234 "loc": { 235 "start": { 236 "line": 17, 237 "column": 22, 238 "program": "string_template_4.ets" 239 }, 240 "end": { 241 "line": 17, 242 "column": 37, 243 "program": "string_template_4.ets" 244 } 245 } 246 } 247 ], 248 "quasis": [ 249 { 250 "type": "TemplateElement", 251 "value": { 252 "raw": "nested ", 253 "cooked": "nested " 254 }, 255 "loc": { 256 "start": { 257 "line": 17, 258 "column": 13, 259 "program": "string_template_4.ets" 260 }, 261 "end": { 262 "line": 17, 263 "column": 20, 264 "program": "string_template_4.ets" 265 } 266 } 267 }, 268 { 269 "type": "TemplateElement", 270 "value": { 271 "raw": "", 272 "cooked": "" 273 }, 274 "loc": { 275 "start": { 276 "line": 17, 277 "column": 38, 278 "program": "string_template_4.ets" 279 }, 280 "end": { 281 "line": 17, 282 "column": 38, 283 "program": "string_template_4.ets" 284 } 285 } 286 } 287 ], 288 "loc": { 289 "start": { 290 "line": 17, 291 "column": 12, 292 "program": "string_template_4.ets" 293 }, 294 "end": { 295 "line": 17, 296 "column": 39, 297 "program": "string_template_4.ets" 298 } 299 } 300 }, 301 "loc": { 302 "start": { 303 "line": 17, 304 "column": 8, 305 "program": "string_template_4.ets" 306 }, 307 "end": { 308 "line": 17, 309 "column": 39, 310 "program": "string_template_4.ets" 311 } 312 } 313 } 314 ], 315 "kind": "const", 316 "loc": { 317 "start": { 318 "line": 17, 319 "column": 2, 320 "program": "string_template_4.ets" 321 }, 322 "end": { 323 "line": 17, 324 "column": 39, 325 "program": "string_template_4.ets" 326 } 327 } 328 }, 329 { 330 "type": "ExpressionStatement", 331 "expression": { 332 "type": "CallExpression", 333 "callee": { 334 "type": "MemberExpression", 335 "object": { 336 "type": "Identifier", 337 "name": "console", 338 "decorators": [], 339 "loc": { 340 "start": { 341 "line": 18, 342 "column": 2, 343 "program": "string_template_4.ets" 344 }, 345 "end": { 346 "line": 18, 347 "column": 9, 348 "program": "string_template_4.ets" 349 } 350 } 351 }, 352 "property": { 353 "type": "Identifier", 354 "name": "log", 355 "decorators": [], 356 "loc": { 357 "start": { 358 "line": 18, 359 "column": 10, 360 "program": "string_template_4.ets" 361 }, 362 "end": { 363 "line": 18, 364 "column": 13, 365 "program": "string_template_4.ets" 366 } 367 } 368 }, 369 "computed": false, 370 "optional": false, 371 "loc": { 372 "start": { 373 "line": 18, 374 "column": 2, 375 "program": "string_template_4.ets" 376 }, 377 "end": { 378 "line": 18, 379 "column": 13, 380 "program": "string_template_4.ets" 381 } 382 } 383 }, 384 "arguments": [ 385 { 386 "type": "Identifier", 387 "name": "v", 388 "decorators": [], 389 "loc": { 390 "start": { 391 "line": 18, 392 "column": 14, 393 "program": "string_template_4.ets" 394 }, 395 "end": { 396 "line": 18, 397 "column": 15, 398 "program": "string_template_4.ets" 399 } 400 } 401 } 402 ], 403 "optional": false, 404 "loc": { 405 "start": { 406 "line": 18, 407 "column": 2, 408 "program": "string_template_4.ets" 409 }, 410 "end": { 411 "line": 18, 412 "column": 16, 413 "program": "string_template_4.ets" 414 } 415 } 416 }, 417 "loc": { 418 "start": { 419 "line": 18, 420 "column": 2, 421 "program": "string_template_4.ets" 422 }, 423 "end": { 424 "line": 18, 425 "column": 16, 426 "program": "string_template_4.ets" 427 } 428 } 429 }, 430 { 431 "type": "VariableDeclaration", 432 "declarations": [ 433 { 434 "type": "VariableDeclarator", 435 "id": { 436 "type": "Identifier", 437 "name": "expected", 438 "decorators": [], 439 "loc": { 440 "start": { 441 "line": 19, 442 "column": 8, 443 "program": "string_template_4.ets" 444 }, 445 "end": { 446 "line": 19, 447 "column": 16, 448 "program": "string_template_4.ets" 449 } 450 } 451 }, 452 "init": { 453 "type": "StringLiteral", 454 "value": "nested backtick = `", 455 "loc": { 456 "start": { 457 "line": 19, 458 "column": 19, 459 "program": "string_template_4.ets" 460 }, 461 "end": { 462 "line": 19, 463 "column": 40, 464 "program": "string_template_4.ets" 465 } 466 } 467 }, 468 "loc": { 469 "start": { 470 "line": 19, 471 "column": 8, 472 "program": "string_template_4.ets" 473 }, 474 "end": { 475 "line": 19, 476 "column": 40, 477 "program": "string_template_4.ets" 478 } 479 } 480 } 481 ], 482 "kind": "const", 483 "loc": { 484 "start": { 485 "line": 19, 486 "column": 2, 487 "program": "string_template_4.ets" 488 }, 489 "end": { 490 "line": 19, 491 "column": 40, 492 "program": "string_template_4.ets" 493 } 494 } 495 }, 496 { 497 "type": "ExpressionStatement", 498 "expression": { 499 "type": "CallExpression", 500 "callee": { 501 "type": "Identifier", 502 "name": "assertEQ", 503 "decorators": [], 504 "loc": { 505 "start": { 506 "line": 20, 507 "column": 2, 508 "program": "string_template_4.ets" 509 }, 510 "end": { 511 "line": 20, 512 "column": 10, 513 "program": "string_template_4.ets" 514 } 515 } 516 }, 517 "arguments": [ 518 { 519 "type": "Identifier", 520 "name": "v", 521 "decorators": [], 522 "loc": { 523 "start": { 524 "line": 20, 525 "column": 11, 526 "program": "string_template_4.ets" 527 }, 528 "end": { 529 "line": 20, 530 "column": 12, 531 "program": "string_template_4.ets" 532 } 533 } 534 }, 535 { 536 "type": "Identifier", 537 "name": "expected", 538 "decorators": [], 539 "loc": { 540 "start": { 541 "line": 20, 542 "column": 14, 543 "program": "string_template_4.ets" 544 }, 545 "end": { 546 "line": 20, 547 "column": 22, 548 "program": "string_template_4.ets" 549 } 550 } 551 } 552 ], 553 "optional": false, 554 "loc": { 555 "start": { 556 "line": 20, 557 "column": 2, 558 "program": "string_template_4.ets" 559 }, 560 "end": { 561 "line": 20, 562 "column": 23, 563 "program": "string_template_4.ets" 564 } 565 } 566 }, 567 "loc": { 568 "start": { 569 "line": 20, 570 "column": 2, 571 "program": "string_template_4.ets" 572 }, 573 "end": { 574 "line": 20, 575 "column": 24, 576 "program": "string_template_4.ets" 577 } 578 } 579 } 580 ], 581 "loc": { 582 "start": { 583 "line": 16, 584 "column": 17, 585 "program": "string_template_4.ets" 586 }, 587 "end": { 588 "line": 21, 589 "column": 2, 590 "program": "string_template_4.ets" 591 } 592 } 593 }, 594 "loc": { 595 "start": { 596 "line": 16, 597 "column": 10, 598 "program": "string_template_4.ets" 599 }, 600 "end": { 601 "line": 21, 602 "column": 2, 603 "program": "string_template_4.ets" 604 } 605 } 606 }, 607 "loc": { 608 "start": { 609 "line": 16, 610 "column": 10, 611 "program": "string_template_4.ets" 612 }, 613 "end": { 614 "line": 21, 615 "column": 2, 616 "program": "string_template_4.ets" 617 } 618 } 619 }, 620 "overloads": [], 621 "decorators": [], 622 "loc": { 623 "start": { 624 "line": 16, 625 "column": 1, 626 "program": "string_template_4.ets" 627 }, 628 "end": { 629 "line": 21, 630 "column": 2, 631 "program": "string_template_4.ets" 632 } 633 } 634 } 635 ], 636 "loc": { 637 "start": { 638 "line": 1, 639 "column": 1, 640 "program": "string_template_4.ets" 641 }, 642 "end": { 643 "line": 1, 644 "column": 1, 645 "program": "string_template_4.ets" 646 } 647 } 648 }, 649 "loc": { 650 "start": { 651 "line": 1, 652 "column": 1, 653 "program": "string_template_4.ets" 654 }, 655 "end": { 656 "line": 1, 657 "column": 1, 658 "program": "string_template_4.ets" 659 } 660 } 661 } 662 ], 663 "loc": { 664 "start": { 665 "line": 1, 666 "column": 1, 667 "program": "string_template_4.ets" 668 }, 669 "end": { 670 "line": 21, 671 "column": 2, 672 "program": "string_template_4.ets" 673 } 674 } 675} 676