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 "returnType": { 165 "type": "ETSPrimitiveType", 166 "loc": { 167 "start": { 168 "line": 16, 169 "column": 18 170 }, 171 "end": { 172 "line": 16, 173 "column": 22 174 } 175 } 176 }, 177 "body": { 178 "type": "BlockStatement", 179 "statements": [ 180 { 181 "type": "VariableDeclaration", 182 "declarations": [ 183 { 184 "type": "VariableDeclarator", 185 "id": { 186 "type": "Identifier", 187 "name": "values", 188 "typeAnnotation": { 189 "type": "TSArrayType", 190 "elementType": { 191 "type": "ETSUnionType", 192 "types": [ 193 { 194 "type": "ETSTypeReference", 195 "part": { 196 "type": "ETSTypeReferencePart", 197 "name": { 198 "type": "Identifier", 199 "name": "string", 200 "decorators": [], 201 "loc": { 202 "start": { 203 "line": 17, 204 "column": 18 205 }, 206 "end": { 207 "line": 17, 208 "column": 24 209 } 210 } 211 }, 212 "loc": { 213 "start": { 214 "line": 17, 215 "column": 18 216 }, 217 "end": { 218 "line": 17, 219 "column": 25 220 } 221 } 222 }, 223 "loc": { 224 "start": { 225 "line": 17, 226 "column": 18 227 }, 228 "end": { 229 "line": 17, 230 "column": 25 231 } 232 } 233 }, 234 { 235 "type": "ETSTypeReference", 236 "part": { 237 "type": "ETSTypeReferencePart", 238 "name": { 239 "type": "Identifier", 240 "name": "Int", 241 "decorators": [], 242 "loc": { 243 "start": { 244 "line": 17, 245 "column": 25 246 }, 247 "end": { 248 "line": 17, 249 "column": 28 250 } 251 } 252 }, 253 "loc": { 254 "start": { 255 "line": 17, 256 "column": 25 257 }, 258 "end": { 259 "line": 17, 260 "column": 29 261 } 262 } 263 }, 264 "loc": { 265 "start": { 266 "line": 17, 267 "column": 25 268 }, 269 "end": { 270 "line": 17, 271 "column": 29 272 } 273 } 274 }, 275 { 276 "type": "ETSNullType", 277 "loc": { 278 "start": { 279 "line": 17, 280 "column": 29 281 }, 282 "end": { 283 "line": 17, 284 "column": 33 285 } 286 } 287 } 288 ], 289 "loc": { 290 "start": { 291 "line": 17, 292 "column": 17 293 }, 294 "end": { 295 "line": 17, 296 "column": 33 297 } 298 } 299 }, 300 "loc": { 301 "start": { 302 "line": 17, 303 "column": 37 304 }, 305 "end": { 306 "line": 17, 307 "column": 38 308 } 309 } 310 }, 311 "decorators": [], 312 "loc": { 313 "start": { 314 "line": 17, 315 "column": 9 316 }, 317 "end": { 318 "line": 17, 319 "column": 15 320 } 321 } 322 }, 323 "init": { 324 "type": "ArrayExpression", 325 "elements": [ 326 { 327 "type": "StringLiteral", 328 "value": "Test", 329 "loc": { 330 "start": { 331 "line": 17, 332 "column": 40 333 }, 334 "end": { 335 "line": 17, 336 "column": 46 337 } 338 } 339 }, 340 { 341 "type": "NumberLiteral", 342 "value": 2, 343 "loc": { 344 "start": { 345 "line": 17, 346 "column": 48 347 }, 348 "end": { 349 "line": 17, 350 "column": 49 351 } 352 } 353 }, 354 { 355 "type": "NumberLiteral", 356 "value": 3, 357 "loc": { 358 "start": { 359 "line": 17, 360 "column": 51 361 }, 362 "end": { 363 "line": 17, 364 "column": 52 365 } 366 } 367 }, 368 { 369 "type": "NullLiteral", 370 "value": null, 371 "loc": { 372 "start": { 373 "line": 17, 374 "column": 54 375 }, 376 "end": { 377 "line": 17, 378 "column": 58 379 } 380 } 381 }, 382 { 383 "type": "NumberLiteral", 384 "value": 5, 385 "loc": { 386 "start": { 387 "line": 17, 388 "column": 60 389 }, 390 "end": { 391 "line": 17, 392 "column": 61 393 } 394 } 395 }, 396 { 397 "type": "NumberLiteral", 398 "value": 10, 399 "loc": { 400 "start": { 401 "line": 17, 402 "column": 63 403 }, 404 "end": { 405 "line": 17, 406 "column": 65 407 } 408 } 409 }, 410 { 411 "type": "NullLiteral", 412 "value": null, 413 "loc": { 414 "start": { 415 "line": 17, 416 "column": 67 417 }, 418 "end": { 419 "line": 17, 420 "column": 71 421 } 422 } 423 } 424 ], 425 "loc": { 426 "start": { 427 "line": 17, 428 "column": 39 429 }, 430 "end": { 431 "line": 17, 432 "column": 72 433 } 434 } 435 }, 436 "loc": { 437 "start": { 438 "line": 17, 439 "column": 9 440 }, 441 "end": { 442 "line": 17, 443 "column": 72 444 } 445 } 446 } 447 ], 448 "kind": "let", 449 "loc": { 450 "start": { 451 "line": 17, 452 "column": 5 453 }, 454 "end": { 455 "line": 17, 456 "column": 73 457 } 458 } 459 } 460 ], 461 "loc": { 462 "start": { 463 "line": 16, 464 "column": 23 465 }, 466 "end": { 467 "line": 18, 468 "column": 2 469 } 470 } 471 }, 472 "loc": { 473 "start": { 474 "line": 16, 475 "column": 14 476 }, 477 "end": { 478 "line": 18, 479 "column": 2 480 } 481 } 482 }, 483 "loc": { 484 "start": { 485 "line": 16, 486 "column": 14 487 }, 488 "end": { 489 "line": 18, 490 "column": 2 491 } 492 } 493 }, 494 "overloads": [], 495 "decorators": [], 496 "loc": { 497 "start": { 498 "line": 16, 499 "column": 1 500 }, 501 "end": { 502 "line": 18, 503 "column": 2 504 } 505 } 506 } 507 ], 508 "loc": { 509 "start": { 510 "line": 1, 511 "column": 1 512 }, 513 "end": { 514 "line": 1, 515 "column": 1 516 } 517 } 518 }, 519 "loc": { 520 "start": { 521 "line": 1, 522 "column": 1 523 }, 524 "end": { 525 "line": 1, 526 "column": 1 527 } 528 } 529 } 530 ], 531 "loc": { 532 "start": { 533 "line": 1, 534 "column": 1 535 }, 536 "end": { 537 "line": 19, 538 "column": 1 539 } 540 } 541} 542