{ "type": "Program", "statements": [ { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [], "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 17, "column": 2 } } }, "id": { "type": "Identifier", "name": "interface_a", "decorators": [], "loc": { "start": { "line": 16, "column": 11 }, "end": { "line": 16, "column": 22 } } }, "extends": [], "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 19, "column": 10 } } }, { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [], "loc": { "start": { "line": 19, "column": 23 }, "end": { "line": 20, "column": 2 } } }, "id": { "type": "Identifier", "name": "interface_b", "decorators": [], "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 19, "column": 22 } } }, "extends": [], "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 22, "column": 6 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "base_class", "decorators": [], "loc": { "start": { "line": 22, "column": 7 }, "end": { "line": 22, "column": 17 } } }, "superClass": null, "implements": [], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "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": { "type": "Identifier", "name": "constructor", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "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": 23, "column": 2 }, "end": { "line": 23, "column": 2 } } } ], "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 23, "column": 2 } } }, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 23, "column": 2 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "public_class", "decorators": [], "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 25, "column": 19 } } }, "superClass": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "base_class", "decorators": [], "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 38 } } }, "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 49 } } }, "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 49 } } }, "implements": [ { "type": "TSClassImplements", "expression": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "interface_a", "decorators": [], "loc": { "start": { "line": 25, "column": 50 }, "end": { "line": 25, "column": 61 } } }, "loc": { "start": { "line": 25, "column": 50 }, "end": { "line": 25, "column": 62 } } }, "loc": { "start": { "line": 25, "column": 50 }, "end": { "line": 25, "column": 62 } } }, "loc": { "start": { "line": 25, "column": 50 }, "end": { "line": 25, "column": 62 } } }, { "type": "TSClassImplements", "expression": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "interface_b", "decorators": [], "loc": { "start": { "line": 25, "column": 63 }, "end": { "line": 25, "column": 74 } } }, "loc": { "start": { "line": 25, "column": 63 }, "end": { "line": 25, "column": 77 } } }, "loc": { "start": { "line": 25, "column": 63 }, "end": { "line": 25, "column": 77 } } }, "loc": { "start": { "line": 25, "column": 63 }, "end": { "line": 25, "column": 77 } } } ], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "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": { "type": "Identifier", "name": "constructor", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "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": 2 }, "end": { "line": 26, "column": 2 } } } ], "loc": { "start": { "line": 25, "column": 76 }, "end": { "line": 26, "column": 2 } } }, "loc": { "start": { "line": 25, "column": 1 }, "end": { "line": 26, "column": 2 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "final_class", "decorators": [], "loc": { "start": { "line": 28, "column": 7 }, "end": { "line": 28, "column": 18 } } }, "superClass": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "base_class", "decorators": [], "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 37 } } }, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 40 } } }, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 40 } } }, "implements": [], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "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": { "type": "Identifier", "name": "constructor", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "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": 29, "column": 2 }, "end": { "line": 29, "column": 2 } } } ], "loc": { "start": { "line": 28, "column": 39 }, "end": { "line": 29, "column": 2 } } }, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 29, "column": 2 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "abstract_class", "decorators": [], "loc": { "start": { "line": 31, "column": 16 }, "end": { "line": 31, "column": 30 } } }, "superClass": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "base_class", "decorators": [], "loc": { "start": { "line": 31, "column": 39 }, "end": { "line": 31, "column": 49 } } }, "loc": { "start": { "line": 31, "column": 39 }, "end": { "line": 31, "column": 60 } } }, "loc": { "start": { "line": 31, "column": 39 }, "end": { "line": 31, "column": 60 } } }, "implements": [ { "type": "TSClassImplements", "expression": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "interface_b", "decorators": [], "loc": { "start": { "line": 31, "column": 61 }, "end": { "line": 31, "column": 72 } } }, "loc": { "start": { "line": 31, "column": 61 }, "end": { "line": 31, "column": 75 } } }, "loc": { "start": { "line": 31, "column": 61 }, "end": { "line": 31, "column": 75 } } }, "loc": { "start": { "line": 31, "column": 61 }, "end": { "line": 31, "column": 75 } } } ], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "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": { "type": "Identifier", "name": "constructor", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "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": 32, "column": 2 }, "end": { "line": 32, "column": 2 } } } ], "loc": { "start": { "line": 31, "column": 74 }, "end": { "line": 32, "column": 2 } } }, "loc": { "start": { "line": 31, "column": 10 }, "end": { "line": 32, "column": 2 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "inheritance", "decorators": [], "loc": { "start": { "line": 34, "column": 14 }, "end": { "line": 34, "column": 25 } } }, "superClass": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "base_class", "decorators": [], "loc": { "start": { "line": 34, "column": 34 }, "end": { "line": 34, "column": 44 } } }, "loc": { "start": { "line": 34, "column": 34 }, "end": { "line": 34, "column": 47 } } }, "loc": { "start": { "line": 34, "column": 34 }, "end": { "line": 34, "column": 47 } } }, "implements": [], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "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": { "type": "Identifier", "name": "constructor", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "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": 35, "column": 2 }, "end": { "line": 35, "column": 2 } } } ], "loc": { "start": { "line": 34, "column": 46 }, "end": { "line": 35, "column": 2 } } }, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 35, "column": 2 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "ETSGLOBAL", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "superClass": null, "implements": [], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "_$init$_", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "method", "accessibility": "public", "static": true, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "_$init$_", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "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": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 36, "column": 1 } } }