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": "foo", 124 "decorators": [], 125 "loc": { 126 "start": { 127 "line": 17, 128 "column": 11 129 }, 130 "end": { 131 "line": 17, 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": "foo", 148 "decorators": [], 149 "loc": { 150 "start": { 151 "line": 17, 152 "column": 11 153 }, 154 "end": { 155 "line": 17, 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": 17, 169 "column": 18 170 }, 171 "end": { 172 "line": 17, 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": "length", 188 "decorators": [], 189 "loc": { 190 "start": { 191 "line": 18, 192 "column": 7 193 }, 194 "end": { 195 "line": 18, 196 "column": 13 197 } 198 } 199 }, 200 "init": { 201 "type": "NumberLiteral", 202 "value": 10, 203 "loc": { 204 "start": { 205 "line": 18, 206 "column": 16 207 }, 208 "end": { 209 "line": 18, 210 "column": 18 211 } 212 } 213 }, 214 "loc": { 215 "start": { 216 "line": 18, 217 "column": 7 218 }, 219 "end": { 220 "line": 18, 221 "column": 18 222 } 223 } 224 } 225 ], 226 "kind": "let", 227 "loc": { 228 "start": { 229 "line": 18, 230 "column": 3 231 }, 232 "end": { 233 "line": 18, 234 "column": 19 235 } 236 } 237 }, 238 { 239 "type": "ForUpdateStatement", 240 "init": { 241 "type": "VariableDeclaration", 242 "declarations": [ 243 { 244 "type": "VariableDeclarator", 245 "id": { 246 "type": "Identifier", 247 "name": "i", 248 "decorators": [], 249 "loc": { 250 "start": { 251 "line": 19, 252 "column": 12 253 }, 254 "end": { 255 "line": 19, 256 "column": 13 257 } 258 } 259 }, 260 "init": { 261 "type": "NumberLiteral", 262 "value": 0, 263 "loc": { 264 "start": { 265 "line": 19, 266 "column": 16 267 }, 268 "end": { 269 "line": 19, 270 "column": 17 271 } 272 } 273 }, 274 "loc": { 275 "start": { 276 "line": 19, 277 "column": 12 278 }, 279 "end": { 280 "line": 19, 281 "column": 17 282 } 283 } 284 } 285 ], 286 "kind": "let", 287 "loc": { 288 "start": { 289 "line": 19, 290 "column": 8 291 }, 292 "end": { 293 "line": 19, 294 "column": 17 295 } 296 } 297 }, 298 "test": { 299 "type": "BinaryExpression", 300 "operator": "<", 301 "left": { 302 "type": "Identifier", 303 "name": "i", 304 "decorators": [], 305 "loc": { 306 "start": { 307 "line": 19, 308 "column": 19 309 }, 310 "end": { 311 "line": 19, 312 "column": 20 313 } 314 } 315 }, 316 "right": { 317 "type": "BinaryExpression", 318 "operator": "-", 319 "left": { 320 "type": "Identifier", 321 "name": "length", 322 "decorators": [], 323 "loc": { 324 "start": { 325 "line": 19, 326 "column": 24 327 }, 328 "end": { 329 "line": 19, 330 "column": 30 331 } 332 } 333 }, 334 "right": { 335 "type": "NumberLiteral", 336 "value": 2, 337 "loc": { 338 "start": { 339 "line": 19, 340 "column": 33 341 }, 342 "end": { 343 "line": 19, 344 "column": 34 345 } 346 } 347 }, 348 "loc": { 349 "start": { 350 "line": 19, 351 "column": 23 352 }, 353 "end": { 354 "line": 19, 355 "column": 35 356 } 357 } 358 }, 359 "loc": { 360 "start": { 361 "line": 19, 362 "column": 19 363 }, 364 "end": { 365 "line": 19, 366 "column": 35 367 } 368 } 369 }, 370 "update": { 371 "type": "AssignmentExpression", 372 "operator": "+=", 373 "left": { 374 "type": "Identifier", 375 "name": "i", 376 "decorators": [], 377 "loc": { 378 "start": { 379 "line": 19, 380 "column": 37 381 }, 382 "end": { 383 "line": 19, 384 "column": 38 385 } 386 } 387 }, 388 "right": { 389 "type": "NumberLiteral", 390 "value": 3, 391 "loc": { 392 "start": { 393 "line": 19, 394 "column": 42 395 }, 396 "end": { 397 "line": 19, 398 "column": 43 399 } 400 } 401 }, 402 "loc": { 403 "start": { 404 "line": 19, 405 "column": 37 406 }, 407 "end": { 408 "line": 19, 409 "column": 43 410 } 411 } 412 }, 413 "body": { 414 "type": "BlockStatement", 415 "statements": [], 416 "loc": { 417 "start": { 418 "line": 19, 419 "column": 45 420 }, 421 "end": { 422 "line": 20, 423 "column": 4 424 } 425 } 426 }, 427 "loc": { 428 "start": { 429 "line": 19, 430 "column": 3 431 }, 432 "end": { 433 "line": 20, 434 "column": 4 435 } 436 } 437 } 438 ], 439 "loc": { 440 "start": { 441 "line": 17, 442 "column": 23 443 }, 444 "end": { 445 "line": 21, 446 "column": 2 447 } 448 } 449 }, 450 "loc": { 451 "start": { 452 "line": 17, 453 "column": 14 454 }, 455 "end": { 456 "line": 21, 457 "column": 2 458 } 459 } 460 }, 461 "loc": { 462 "start": { 463 "line": 17, 464 "column": 14 465 }, 466 "end": { 467 "line": 21, 468 "column": 2 469 } 470 } 471 }, 472 "overloads": [], 473 "decorators": [], 474 "loc": { 475 "start": { 476 "line": 17, 477 "column": 2 478 }, 479 "end": { 480 "line": 21, 481 "column": 2 482 } 483 } 484 } 485 ], 486 "loc": { 487 "start": { 488 "line": 1, 489 "column": 1 490 }, 491 "end": { 492 "line": 1, 493 "column": 1 494 } 495 } 496 }, 497 "loc": { 498 "start": { 499 "line": 1, 500 "column": 1 501 }, 502 "end": { 503 "line": 1, 504 "column": 1 505 } 506 } 507 } 508 ], 509 "loc": { 510 "start": { 511 "line": 1, 512 "column": 1 513 }, 514 "end": { 515 "line": 22, 516 "column": 1 517 } 518 } 519} 520