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