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 "quasis": [ 191 { 192 "type": "TemplateElement", 193 "value": { 194 "raw": "(slash at curly braces) $\{true || false\}", 195 "cooked": "(slash at curly braces) ${true || false}" 196 }, 197 "loc": { 198 "start": { 199 "line": 17, 200 "column": 13 201 }, 202 "end": { 203 "line": 17, 204 "column": 55 205 } 206 } 207 } 208 ], 209 "loc": { 210 "start": { 211 "line": 17, 212 "column": 12 213 }, 214 "end": { 215 "line": 17, 216 "column": 56 217 } 218 } 219 }, 220 "loc": { 221 "start": { 222 "line": 17, 223 "column": 8 224 }, 225 "end": { 226 "line": 17, 227 "column": 56 228 } 229 } 230 } 231 ], 232 "kind": "const", 233 "loc": { 234 "start": { 235 "line": 17, 236 "column": 2 237 }, 238 "end": { 239 "line": 17, 240 "column": 56 241 } 242 } 243 }, 244 { 245 "type": "ExpressionStatement", 246 "expression": { 247 "type": "CallExpression", 248 "callee": { 249 "type": "MemberExpression", 250 "object": { 251 "type": "Identifier", 252 "name": "console", 253 "decorators": [], 254 "loc": { 255 "start": { 256 "line": 18, 257 "column": 2 258 }, 259 "end": { 260 "line": 18, 261 "column": 9 262 } 263 } 264 }, 265 "property": { 266 "type": "Identifier", 267 "name": "log", 268 "decorators": [], 269 "loc": { 270 "start": { 271 "line": 18, 272 "column": 10 273 }, 274 "end": { 275 "line": 18, 276 "column": 13 277 } 278 } 279 }, 280 "computed": false, 281 "optional": false, 282 "loc": { 283 "start": { 284 "line": 18, 285 "column": 2 286 }, 287 "end": { 288 "line": 18, 289 "column": 13 290 } 291 } 292 }, 293 "arguments": [ 294 { 295 "type": "Identifier", 296 "name": "v", 297 "decorators": [], 298 "loc": { 299 "start": { 300 "line": 18, 301 "column": 14 302 }, 303 "end": { 304 "line": 18, 305 "column": 15 306 } 307 } 308 } 309 ], 310 "optional": false, 311 "loc": { 312 "start": { 313 "line": 18, 314 "column": 2 315 }, 316 "end": { 317 "line": 18, 318 "column": 16 319 } 320 } 321 }, 322 "loc": { 323 "start": { 324 "line": 18, 325 "column": 2 326 }, 327 "end": { 328 "line": 18, 329 "column": 16 330 } 331 } 332 }, 333 { 334 "type": "VariableDeclaration", 335 "declarations": [ 336 { 337 "type": "VariableDeclarator", 338 "id": { 339 "type": "Identifier", 340 "name": "expected", 341 "decorators": [], 342 "loc": { 343 "start": { 344 "line": 19, 345 "column": 8 346 }, 347 "end": { 348 "line": 19, 349 "column": 16 350 } 351 } 352 }, 353 "init": { 354 "type": "TemplateLiteral", 355 "expressions": [ 356 { 357 "type": "LogicalExpression", 358 "operator": "||", 359 "left": { 360 "type": "BooleanLiteral", 361 "value": true, 362 "loc": { 363 "start": { 364 "line": 19, 365 "column": 46 366 }, 367 "end": { 368 "line": 19, 369 "column": 50 370 } 371 } 372 }, 373 "right": { 374 "type": "BooleanLiteral", 375 "value": false, 376 "loc": { 377 "start": { 378 "line": 19, 379 "column": 54 380 }, 381 "end": { 382 "line": 19, 383 "column": 59 384 } 385 } 386 }, 387 "loc": { 388 "start": { 389 "line": 19, 390 "column": 46 391 }, 392 "end": { 393 "line": 19, 394 "column": 59 395 } 396 } 397 } 398 ], 399 "quasis": [ 400 { 401 "type": "TemplateElement", 402 "value": { 403 "raw": "(slash at curly braces) ", 404 "cooked": "(slash at curly braces) " 405 }, 406 "loc": { 407 "start": { 408 "line": 19, 409 "column": 20 410 }, 411 "end": { 412 "line": 19, 413 "column": 44 414 } 415 } 416 }, 417 { 418 "type": "TemplateElement", 419 "value": { 420 "raw": "", 421 "cooked": "" 422 }, 423 "loc": { 424 "start": { 425 "line": 19, 426 "column": 60 427 }, 428 "end": { 429 "line": 19, 430 "column": 60 431 } 432 } 433 } 434 ], 435 "loc": { 436 "start": { 437 "line": 19, 438 "column": 19 439 }, 440 "end": { 441 "line": 19, 442 "column": 61 443 } 444 } 445 }, 446 "loc": { 447 "start": { 448 "line": 19, 449 "column": 8 450 }, 451 "end": { 452 "line": 19, 453 "column": 61 454 } 455 } 456 } 457 ], 458 "kind": "const", 459 "loc": { 460 "start": { 461 "line": 19, 462 "column": 2 463 }, 464 "end": { 465 "line": 19, 466 "column": 61 467 } 468 } 469 }, 470 { 471 "type": "AssertStatement", 472 "test": { 473 "type": "BinaryExpression", 474 "operator": "==", 475 "left": { 476 "type": "Identifier", 477 "name": "v", 478 "decorators": [], 479 "loc": { 480 "start": { 481 "line": 20, 482 "column": 9 483 }, 484 "end": { 485 "line": 20, 486 "column": 10 487 } 488 } 489 }, 490 "right": { 491 "type": "Identifier", 492 "name": "expected", 493 "decorators": [], 494 "loc": { 495 "start": { 496 "line": 20, 497 "column": 14 498 }, 499 "end": { 500 "line": 20, 501 "column": 22 502 } 503 } 504 }, 505 "loc": { 506 "start": { 507 "line": 20, 508 "column": 9 509 }, 510 "end": { 511 "line": 20, 512 "column": 22 513 } 514 } 515 }, 516 "second": null, 517 "loc": { 518 "start": { 519 "line": 20, 520 "column": 2 521 }, 522 "end": { 523 "line": 20, 524 "column": 22 525 } 526 } 527 } 528 ], 529 "loc": { 530 "start": { 531 "line": 16, 532 "column": 17 533 }, 534 "end": { 535 "line": 21, 536 "column": 2 537 } 538 } 539 }, 540 "loc": { 541 "start": { 542 "line": 16, 543 "column": 14 544 }, 545 "end": { 546 "line": 21, 547 "column": 2 548 } 549 } 550 }, 551 "loc": { 552 "start": { 553 "line": 16, 554 "column": 14 555 }, 556 "end": { 557 "line": 21, 558 "column": 2 559 } 560 } 561 }, 562 "overloads": [], 563 "decorators": [], 564 "loc": { 565 "start": { 566 "line": 16, 567 "column": 1 568 }, 569 "end": { 570 "line": 21, 571 "column": 2 572 } 573 } 574 } 575 ], 576 "loc": { 577 "start": { 578 "line": 1, 579 "column": 1 580 }, 581 "end": { 582 "line": 1, 583 "column": 1 584 } 585 } 586 }, 587 "loc": { 588 "start": { 589 "line": 1, 590 "column": 1 591 }, 592 "end": { 593 "line": 1, 594 "column": 1 595 } 596 } 597 } 598 ], 599 "loc": { 600 "start": { 601 "line": 1, 602 "column": 1 603 }, 604 "end": { 605 "line": 21, 606 "column": 2 607 } 608 } 609} 610