1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "TSTypeAliasDeclaration", 6 "id": { 7 "type": "Identifier", 8 "name": "TTT", 9 "decorators": [], 10 "loc": { 11 "start": { 12 "line": 16, 13 "column": 6 14 }, 15 "end": { 16 "line": 16, 17 "column": 9 18 } 19 } 20 }, 21 "typeAnnotation": { 22 "type": "ETSTypeReference", 23 "part": { 24 "type": "ETSTypeReferencePart", 25 "name": { 26 "type": "Identifier", 27 "name": "string", 28 "decorators": [], 29 "loc": { 30 "start": { 31 "line": 16, 32 "column": 12 33 }, 34 "end": { 35 "line": 16, 36 "column": 18 37 } 38 } 39 }, 40 "loc": { 41 "start": { 42 "line": 16, 43 "column": 12 44 }, 45 "end": { 46 "line": 16, 47 "column": 19 48 } 49 } 50 }, 51 "loc": { 52 "start": { 53 "line": 16, 54 "column": 12 55 }, 56 "end": { 57 "line": 16, 58 "column": 19 59 } 60 } 61 }, 62 "loc": { 63 "start": { 64 "line": 16, 65 "column": 1 66 }, 67 "end": { 68 "line": 16, 69 "column": 19 70 } 71 } 72 }, 73 { 74 "type": "ClassDeclaration", 75 "definition": { 76 "id": { 77 "type": "Identifier", 78 "name": "ETSGLOBAL", 79 "decorators": [], 80 "loc": { 81 "start": { 82 "line": 1, 83 "column": 1 84 }, 85 "end": { 86 "line": 1, 87 "column": 1 88 } 89 } 90 }, 91 "superClass": null, 92 "implements": [], 93 "body": [ 94 { 95 "type": "MethodDefinition", 96 "key": { 97 "type": "Identifier", 98 "name": "_$init$_", 99 "decorators": [], 100 "loc": { 101 "start": { 102 "line": 1, 103 "column": 1 104 }, 105 "end": { 106 "line": 1, 107 "column": 1 108 } 109 } 110 }, 111 "kind": "method", 112 "accessibility": "public", 113 "static": true, 114 "optional": false, 115 "computed": false, 116 "value": { 117 "type": "FunctionExpression", 118 "function": { 119 "type": "ScriptFunction", 120 "id": { 121 "type": "Identifier", 122 "name": "_$init$_", 123 "decorators": [], 124 "loc": { 125 "start": { 126 "line": 1, 127 "column": 1 128 }, 129 "end": { 130 "line": 1, 131 "column": 1 132 } 133 } 134 }, 135 "generator": false, 136 "async": false, 137 "expression": false, 138 "params": [], 139 "body": { 140 "type": "BlockStatement", 141 "statements": [], 142 "loc": { 143 "start": { 144 "line": 1, 145 "column": 1 146 }, 147 "end": { 148 "line": 1, 149 "column": 1 150 } 151 } 152 }, 153 "loc": { 154 "start": { 155 "line": 1, 156 "column": 1 157 }, 158 "end": { 159 "line": 1, 160 "column": 1 161 } 162 } 163 }, 164 "loc": { 165 "start": { 166 "line": 1, 167 "column": 1 168 }, 169 "end": { 170 "line": 1, 171 "column": 1 172 } 173 } 174 }, 175 "overloads": [], 176 "decorators": [], 177 "loc": { 178 "start": { 179 "line": 1, 180 "column": 1 181 }, 182 "end": { 183 "line": 1, 184 "column": 1 185 } 186 } 187 }, 188 { 189 "type": "MethodDefinition", 190 "key": { 191 "type": "Identifier", 192 "name": "main", 193 "decorators": [], 194 "loc": { 195 "start": { 196 "line": 18, 197 "column": 10 198 }, 199 "end": { 200 "line": 18, 201 "column": 14 202 } 203 } 204 }, 205 "kind": "method", 206 "accessibility": "public", 207 "static": true, 208 "optional": false, 209 "computed": false, 210 "value": { 211 "type": "FunctionExpression", 212 "function": { 213 "type": "ScriptFunction", 214 "id": { 215 "type": "Identifier", 216 "name": "main", 217 "decorators": [], 218 "loc": { 219 "start": { 220 "line": 18, 221 "column": 10 222 }, 223 "end": { 224 "line": 18, 225 "column": 14 226 } 227 } 228 }, 229 "generator": false, 230 "async": false, 231 "expression": false, 232 "params": [ 233 { 234 "type": "ETSParameterExpression", 235 "name": { 236 "type": "Identifier", 237 "name": "i", 238 "typeAnnotation": { 239 "type": "TSArrayType", 240 "elementType": { 241 "type": "ETSTypeReference", 242 "part": { 243 "type": "ETSTypeReferencePart", 244 "name": { 245 "type": "Identifier", 246 "name": "TTT", 247 "decorators": [], 248 "loc": { 249 "start": { 250 "line": 18, 251 "column": 19 252 }, 253 "end": { 254 "line": 18, 255 "column": 22 256 } 257 } 258 }, 259 "loc": { 260 "start": { 261 "line": 18, 262 "column": 19 263 }, 264 "end": { 265 "line": 18, 266 "column": 23 267 } 268 } 269 }, 270 "loc": { 271 "start": { 272 "line": 18, 273 "column": 19 274 }, 275 "end": { 276 "line": 18, 277 "column": 23 278 } 279 } 280 }, 281 "loc": { 282 "start": { 283 "line": 18, 284 "column": 24 285 }, 286 "end": { 287 "line": 18, 288 "column": 25 289 } 290 } 291 }, 292 "decorators": [], 293 "loc": { 294 "start": { 295 "line": 18, 296 "column": 15 297 }, 298 "end": { 299 "line": 18, 300 "column": 25 301 } 302 } 303 }, 304 "loc": { 305 "start": { 306 "line": 18, 307 "column": 15 308 }, 309 "end": { 310 "line": 18, 311 "column": 25 312 } 313 } 314 } 315 ], 316 "returnType": { 317 "type": "ETSPrimitiveType", 318 "loc": { 319 "start": { 320 "line": 18, 321 "column": 27 322 }, 323 "end": { 324 "line": 18, 325 "column": 31 326 } 327 } 328 }, 329 "body": { 330 "type": "BlockStatement", 331 "statements": [ 332 { 333 "type": "ReturnStatement", 334 "argument": null, 335 "loc": { 336 "start": { 337 "line": 19, 338 "column": 5 339 }, 340 "end": { 341 "line": 19, 342 "column": 12 343 } 344 } 345 } 346 ], 347 "loc": { 348 "start": { 349 "line": 18, 350 "column": 32 351 }, 352 "end": { 353 "line": 20, 354 "column": 2 355 } 356 } 357 }, 358 "loc": { 359 "start": { 360 "line": 18, 361 "column": 14 362 }, 363 "end": { 364 "line": 20, 365 "column": 2 366 } 367 } 368 }, 369 "loc": { 370 "start": { 371 "line": 18, 372 "column": 14 373 }, 374 "end": { 375 "line": 20, 376 "column": 2 377 } 378 } 379 }, 380 "overloads": [], 381 "decorators": [], 382 "loc": { 383 "start": { 384 "line": 18, 385 "column": 1 386 }, 387 "end": { 388 "line": 20, 389 "column": 2 390 } 391 } 392 } 393 ], 394 "loc": { 395 "start": { 396 "line": 1, 397 "column": 1 398 }, 399 "end": { 400 "line": 1, 401 "column": 1 402 } 403 } 404 }, 405 "loc": { 406 "start": { 407 "line": 1, 408 "column": 1 409 }, 410 "end": { 411 "line": 1, 412 "column": 1 413 } 414 } 415 } 416 ], 417 "loc": { 418 "start": { 419 "line": 1, 420 "column": 1 421 }, 422 "end": { 423 "line": 21, 424 "column": 1 425 } 426 } 427} 428