{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "C1", "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 17 } } }, "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": [], "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 20 } } }, "body": [], "indexSignatures": [], "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 20 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 20 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "C1", "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 12 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "C1", "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 19 } } }, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 19 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 19, "column": 9 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 19, "column": 9 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "C1", "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 12 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSAnyKeyword", "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 19, "column": 20 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 23 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 23 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 23 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 21, "column": 15 }, "end": { "line": 21, "column": 17 } } }, "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": [], "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 20 } } }, "body": [], "indexSignatures": [], "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 20 } } }, "decorators": [], "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 20 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 20 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 27 } } }, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 27 } } }, "declare": true, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 23, "column": 8 } } }, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 23, "column": 8 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 20 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 23, "column": 25 }, "end": { "line": 23, "column": 27 } } }, "loc": { "start": { "line": 23, "column": 25 }, "end": { "line": 23, "column": 27 } } }, "declare": true, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 25, "column": 10 } } }, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 25, "column": 10 } } }, { "type": "TSModuleDeclaration", "id": { "type": "Identifier", "name": "ns", "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 13 } } }, "body": { "type": "TSModuleBlock", "body": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "C1", "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 21 } } }, "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": [], "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 24 } } }, "body": [], "indexSignatures": [], "loc": { "start": { "line": 26, "column": 22 }, "end": { "line": 26, "column": 24 } } }, "decorators": [], "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 24 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "C1", "loc": { "start": { "line": 27, "column": 14 }, "end": { "line": 27, "column": 16 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "C1", "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 23 } } }, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 23 } } }, "loc": { "start": { "line": 27, "column": 5 }, "end": { "line": 28, "column": 13 } } }, "loc": { "start": { "line": 27, "column": 5 }, "end": { "line": 28, "column": 13 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "C1", "loc": { "start": { "line": 28, "column": 14 }, "end": { "line": 28, "column": 16 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSAnyKeyword", "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 24 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 28, "column": 25 }, "end": { "line": 28, "column": 27 } } }, "loc": { "start": { "line": 28, "column": 5 }, "end": { "line": 28, "column": 27 } } }, "loc": { "start": { "line": 28, "column": 5 }, "end": { "line": 28, "column": 27 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 30, "column": 19 }, "end": { "line": 30, "column": 21 } } }, "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": [], "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 30, "column": 24 } } }, "body": [], "indexSignatures": [], "loc": { "start": { "line": 30, "column": 22 }, "end": { "line": 30, "column": 24 } } }, "decorators": [], "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 30, "column": 24 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 31, "column": 22 }, "end": { "line": 31, "column": 24 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 31 } } }, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 31 } } }, "declare": true, "loc": { "start": { "line": 31, "column": 13 }, "end": { "line": 32, "column": 12 } } }, "loc": { "start": { "line": 31, "column": 13 }, "end": { "line": 32, "column": 12 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 32, "column": 22 }, "end": { "line": 32, "column": 24 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "C2", "loc": { "start": { "line": 32, "column": 29 }, "end": { "line": 32, "column": 31 } } }, "loc": { "start": { "line": 32, "column": 29 }, "end": { "line": 32, "column": 31 } } }, "declare": true, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 33, "column": 2 } } }, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 33, "column": 2 } } } ], "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 33, "column": 2 } } }, "declare": false, "global": false, "loc": { "start": { "line": 25, "column": 1 }, "end": { "line": 34, "column": 1 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 34, "column": 1 } } }