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