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 "loc": { 273 "start": { 274 "line": 27, 275 "column": 13 276 }, 277 "end": { 278 "line": 29, 279 "column": 6 280 } 281 } 282 }, 283 "body": [ 284 { 285 "type": "MethodDefinition", 286 "key": { 287 "type": "Identifier", 288 "name": "await", 289 "loc": { 290 "start": { 291 "line": 28, 292 "column": 9 293 }, 294 "end": { 295 "line": 28, 296 "column": 14 297 } 298 } 299 }, 300 "kind": "method", 301 "static": false, 302 "optional": false, 303 "computed": false, 304 "value": { 305 "type": "FunctionExpression", 306 "function": { 307 "type": "ScriptFunction", 308 "id": null, 309 "generator": false, 310 "async": false, 311 "expression": false, 312 "params": [], 313 "returnType": { 314 "type": "TSVoidKeyword", 315 "loc": { 316 "start": { 317 "line": 28, 318 "column": 18 319 }, 320 "end": { 321 "line": 28, 322 "column": 22 323 } 324 } 325 }, 326 "loc": { 327 "start": { 328 "line": 28, 329 "column": 14 330 }, 331 "end": { 332 "line": 28, 333 "column": 23 334 } 335 } 336 }, 337 "loc": { 338 "start": { 339 "line": 28, 340 "column": 14 341 }, 342 "end": { 343 "line": 28, 344 "column": 23 345 } 346 } 347 }, 348 "overloads": [], 349 "decorators": [], 350 "loc": { 351 "start": { 352 "line": 28, 353 "column": 9 354 }, 355 "end": { 356 "line": 28, 357 "column": 23 358 } 359 } 360 } 361 ], 362 "indexSignatures": [], 363 "loc": { 364 "start": { 365 "line": 27, 366 "column": 25 367 }, 368 "end": { 369 "line": 29, 370 "column": 6 371 } 372 } 373 }, 374 "decorators": [], 375 "loc": { 376 "start": { 377 "line": 27, 378 "column": 13 379 }, 380 "end": { 381 "line": 29, 382 "column": 6 383 } 384 } 385 } 386 ], 387 "loc": { 388 "start": { 389 "line": 26, 390 "column": 15 391 }, 392 "end": { 393 "line": 30, 394 "column": 2 395 } 396 } 397 }, 398 "declare": false, 399 "global": false, 400 "loc": { 401 "start": { 402 "line": 26, 403 "column": 1 404 }, 405 "end": { 406 "line": 32, 407 "column": 8 408 } 409 } 410 }, 411 { 412 "type": "TSTypeAliasDeclaration", 413 "id": { 414 "type": "Identifier", 415 "name": "await", 416 "loc": { 417 "start": { 418 "line": 32, 419 "column": 14 420 }, 421 "end": { 422 "line": 32, 423 "column": 19 424 } 425 } 426 }, 427 "typeAnnotation": { 428 "type": "TSNumberKeyword", 429 "loc": { 430 "start": { 431 "line": 32, 432 "column": 22 433 }, 434 "end": { 435 "line": 32, 436 "column": 28 437 } 438 } 439 }, 440 "declare": true, 441 "loc": { 442 "start": { 443 "line": 32, 444 "column": 9 445 }, 446 "end": { 447 "line": 32, 448 "column": 29 449 } 450 } 451 } 452 ], 453 "loc": { 454 "start": { 455 "line": 1, 456 "column": 1 457 }, 458 "end": { 459 "line": 33, 460 "column": 1 461 } 462 } 463} 464