{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 17 } } }, "superClass": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "B", "decorators": [], "loc": { "start": { "line": 16, "column": 26 }, "end": { "line": 16, "column": 27 } } }, "loc": { "start": { "line": 16, "column": 26 }, "end": { "line": 16, "column": 38 } } }, "loc": { "start": { "line": 16, "column": 26 }, "end": { "line": 16, "column": 38 } } }, "implements": [ { "type": "TSClassImplements", "expression": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "C", "decorators": [], "loc": { "start": { "line": 16, "column": 39 }, "end": { "line": 16, "column": 40 } } }, "loc": { "start": { "line": 16, "column": 39 }, "end": { "line": 16, "column": 41 } } }, "loc": { "start": { "line": 16, "column": 39 }, "end": { "line": 16, "column": 41 } } }, "loc": { "start": { "line": 16, "column": 39 }, "end": { "line": 16, "column": 41 } } } ], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 8 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 8 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 15 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 15 } } }, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 15 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 22 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 19, "column": 6 } } }, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 19, "column": 6 } } }, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 19, "column": 6 } } }, "overloads": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 8 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 8 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 16 } } }, "decorators": [], "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 16 } } }, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 16 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 22 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 17 } } }, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 18 } } } ], "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 23, "column": 6 } } }, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 23, "column": 6 } } }, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 23, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 23, "column": 6 } } } ], "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 19, "column": 6 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "bar", "decorators": [], "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 17 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "bar", "decorators": [], "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 17 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 28 } } }, "decorators": [], "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 28 } } }, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 28 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 31 }, "end": { "line": 20, "column": 35 } } }, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 17 } } }, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 17 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 17 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "func", "decorators": [], "loc": { "start": { "line": 24, "column": 14 }, "end": { "line": 24, "column": 18 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func", "decorators": [], "loc": { "start": { "line": 24, "column": 14 }, "end": { "line": 24, "column": 18 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "column": 25 } } }, "decorators": [], "loc": { "start": { "line": 24, "column": 19 }, "end": { "line": 24, "column": 25 } } }, "loc": { "start": { "line": 24, "column": 19 }, "end": { "line": 24, "column": 25 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 32 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 24, "column": 33 }, "end": { "line": 26, "column": 6 } } }, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 26, "column": 6 } } }, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 26, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 24, "column": 5 }, "end": { "line": 26, "column": 6 } } }, { "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": 27, "column": 2 }, "end": { "line": 27, "column": 2 } } } ], "loc": { "start": { "line": 16, "column": 40 }, "end": { "line": 27, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 27, "column": 2 } } }, { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 30, "column": 5 }, "end": { "line": 30, "column": 8 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 30, "column": 5 }, "end": { "line": 30, "column": 8 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 16 } } }, "decorators": [], "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 16 } } }, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 16 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 30, "column": 19 }, "end": { "line": 30, "column": 22 } } }, "declare": true, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 22 } } }, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 22 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 30, "column": 5 }, "end": { "line": 30, "column": 23 } } } ], "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 31, "column": 2 } } }, "id": { "type": "Identifier", "name": "D", "decorators": [], "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 12 } } }, "extends": [], "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 33, "column": 10 } } }, { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "interf", "decorators": [], "loc": { "start": { "line": 34, "column": 5 }, "end": { "line": 34, "column": 11 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "interf", "decorators": [], "loc": { "start": { "line": 34, "column": 5 }, "end": { "line": 34, "column": 11 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 18 } } }, "decorators": [], "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 18 } } }, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 18 } } }, { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 34, "column": 23 }, "end": { "line": 34, "column": 26 } } }, "decorators": [], "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 26 } } }, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 26 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 34, "column": 29 }, "end": { "line": 34, "column": 33 } } }, "declare": true, "loc": { "start": { "line": 34, "column": 11 }, "end": { "line": 34, "column": 33 } } }, "loc": { "start": { "line": 34, "column": 11 }, "end": { "line": 34, "column": 33 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 34, "column": 5 }, "end": { "line": 34, "column": 34 } } } ], "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 35, "column": 2 } } }, "id": { "type": "Identifier", "name": "C", "decorators": [], "loc": { "start": { "line": 33, "column": 11 }, "end": { "line": 33, "column": 12 } } }, "extends": [], "loc": { "start": { "line": 33, "column": 1 }, "end": { "line": 37, "column": 9 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "H", "decorators": [], "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 17 } } }, "superClass": null, "implements": [], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "func", "decorators": [], "loc": { "start": { "line": 38, "column": 14 }, "end": { "line": 38, "column": 18 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func", "decorators": [], "loc": { "start": { "line": 38, "column": 14 }, "end": { "line": 38, "column": 18 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 38, "column": 22 }, "end": { "line": 38, "column": 25 } } }, "decorators": [], "loc": { "start": { "line": 38, "column": 19 }, "end": { "line": 38, "column": 25 } } }, "loc": { "start": { "line": 38, "column": 19 }, "end": { "line": 38, "column": 25 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 32 } } }, "loc": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 18 } } }, "loc": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 18 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 38, "column": 5 }, "end": { "line": 38, "column": 18 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "test", "decorators": [], "loc": { "start": { "line": 39, "column": 5 }, "end": { "line": 39, "column": 9 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "test", "decorators": [], "loc": { "start": { "line": 39, "column": 5 }, "end": { "line": 39, "column": 9 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 16 } } }, "decorators": [], "loc": { "start": { "line": 39, "column": 10 }, "end": { "line": 39, "column": 16 } } }, "loc": { "start": { "line": 39, "column": 10 }, "end": { "line": 39, "column": 16 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 39, "column": 19 }, "end": { "line": 39, "column": 23 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 41, "column": 6 } } }, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 41, "column": 6 } } }, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 41, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 39, "column": 5 }, "end": { "line": 41, "column": 6 } } }, { "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": 42, "column": 2 }, "end": { "line": 42, "column": 2 } } } ], "loc": { "start": { "line": 37, "column": 18 }, "end": { "line": 42, "column": 2 } } }, "loc": { "start": { "line": 37, "column": 10 }, "end": { "line": 42, "column": 2 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "B", "decorators": [], "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 17 } } }, "superClass": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "H", "decorators": [], "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 44, "column": 27 } } }, "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 44, "column": 29 } } }, "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 44, "column": 29 } } }, "implements": [], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "interf", "decorators": [], "loc": { "start": { "line": 45, "column": 5 }, "end": { "line": 45, "column": 11 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "interf", "decorators": [], "loc": { "start": { "line": 45, "column": 5 }, "end": { "line": 45, "column": 11 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 18 } } }, "decorators": [], "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 18 } } }, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 18 } } }, { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 26 } } }, "decorators": [], "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 26 } } }, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 26 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 45, "column": 29 }, "end": { "line": 45, "column": 33 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 45, "column": 33 }, "end": { "line": 47, "column": 6 } } }, "loc": { "start": { "line": 45, "column": 11 }, "end": { "line": 47, "column": 6 } } }, "loc": { "start": { "line": 45, "column": 11 }, "end": { "line": 47, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 45, "column": 5 }, "end": { "line": 47, "column": 6 } } }, { "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": 48, "column": 2 }, "end": { "line": 48, "column": 2 } } } ], "loc": { "start": { "line": 44, "column": 28 }, "end": { "line": 48, "column": 2 } } }, "loc": { "start": { "line": 44, "column": 10 }, "end": { "line": 48, "column": 2 } } }, { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "test", "decorators": [], "loc": { "start": { "line": 51, "column": 5 }, "end": { "line": 51, "column": 9 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "test", "decorators": [], "loc": { "start": { "line": 51, "column": 5 }, "end": { "line": 51, "column": 9 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 16 } } }, "decorators": [], "loc": { "start": { "line": 51, "column": 10 }, "end": { "line": 51, "column": 16 } } }, "loc": { "start": { "line": 51, "column": 10 }, "end": { "line": 51, "column": 16 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 51, "column": 19 }, "end": { "line": 51, "column": 23 } } }, "declare": true, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 23 } } }, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 23 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 51, "column": 5 }, "end": { "line": 51, "column": 24 } } } ], "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 52, "column": 2 } } }, "id": { "type": "Identifier", "name": "F", "decorators": [], "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 12 } } }, "extends": [], "loc": { "start": { "line": 50, "column": 1 }, "end": { "line": 54, "column": 6 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "G", "decorators": [], "loc": { "start": { "line": 54, "column": 7 }, "end": { "line": 54, "column": 8 } } }, "superClass": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 54, "column": 17 }, "end": { "line": 54, "column": 18 } } }, "loc": { "start": { "line": 54, "column": 17 }, "end": { "line": 54, "column": 29 } } }, "loc": { "start": { "line": 54, "column": 17 }, "end": { "line": 54, "column": 29 } } }, "implements": [ { "type": "TSClassImplements", "expression": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "D", "decorators": [], "loc": { "start": { "line": 54, "column": 30 }, "end": { "line": 54, "column": 31 } } }, "loc": { "start": { "line": 54, "column": 30 }, "end": { "line": 54, "column": 32 } } }, "loc": { "start": { "line": 54, "column": 30 }, "end": { "line": 54, "column": 32 } } }, "loc": { "start": { "line": 54, "column": 30 }, "end": { "line": 54, "column": 32 } } }, { "type": "TSClassImplements", "expression": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "F", "decorators": [], "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 34 } } }, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 36 } } }, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 36 } } }, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 36 } } } ], "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "bar", "decorators": [], "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 17 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "bar", "decorators": [], "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 17 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 55, "column": 21 }, "end": { "line": 55, "column": 28 } } }, "decorators": [], "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 55, "column": 28 } } }, "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 55, "column": 28 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 35 } } }, "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 55, "column": 36 }, "end": { "line": 57, "column": 6 } } }, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 57, "column": 6 } } }, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 57, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 55, "column": 5 }, "end": { "line": 57, "column": 6 } } }, { "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": 58, "column": 2 }, "end": { "line": 58, "column": 2 } } } ], "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 58, "column": 2 } } }, "loc": { "start": { "line": 54, "column": 1 }, "end": { "line": 58, "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": 59, "column": 1 } } }