{ "type": "Program", "statements": [ { "type": "ExportNamedDeclaration", "declaration": null, "source": null, "specifiers": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 12 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "await", "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 23 } } }, "generator": false, "async": false, "expression": false, "params": [], "declare": true, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 26 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 26 } } }, { "type": "TSModuleDeclaration", "id": { "type": "Identifier", "name": "ns", "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 13 } } }, "body": { "type": "TSModuleBlock", "body": [ { "type": "TSEnumDeclaration", "id": { "type": "Identifier", "name": "await", "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 15 } } }, "members": [ { "type": "TSEnumMember", "id": { "type": "Identifier", "name": "await", "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 14 } } }, "initializer": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 22, "column": 18 } } }, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 23, "column": 6 } } } ], "const": false, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 23, "column": 6 } } } ], "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 24, "column": 2 } } }, "declare": false, "global": false, "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 26, "column": 10 } } }, { "type": "TSModuleDeclaration", "id": { "type": "Identifier", "name": "ns1", "loc": { "start": { "line": 26, "column": 11 }, "end": { "line": 26, "column": 14 } } }, "body": { "type": "TSModuleBlock", "body": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "await", "loc": { "start": { "line": 27, "column": 19 }, "end": { "line": 27, "column": 24 } } }, "superClass": null, "implements": [], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "constructor", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "declare": true, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "overloads": [], "decorators": [], "annotations": [], "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 29, "column": 6 } } }, "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "await", "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 14 } } }, "kind": "method", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSVoidKeyword", "loc": { "start": { "line": 28, "column": 18 }, "end": { "line": 28, "column": 22 } } }, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 23 } } }, "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 23 } } }, "overloads": [], "decorators": [], "annotations": [], "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 23 } } } ], "indexSignatures": [], "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 29, "column": 6 } } }, "decorators": [], "isAnnotationDeclaration": false, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 29, "column": 6 } } } ], "loc": { "start": { "line": 26, "column": 15 }, "end": { "line": 30, "column": 2 } } }, "declare": false, "global": false, "loc": { "start": { "line": 26, "column": 1 }, "end": { "line": 32, "column": 8 } } }, { "type": "TSTypeAliasDeclaration", "id": { "type": "Identifier", "name": "await", "loc": { "start": { "line": 32, "column": 14 }, "end": { "line": 32, "column": 19 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 32, "column": 22 }, "end": { "line": 32, "column": 28 } } }, "declare": true, "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 29 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 33, "column": 1 } } }