{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "AbstractClass", "decorators": [], "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 29 } } }, "superClass": null, "implements": [], "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "_age", "decorators": [], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 17 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 17, "column": 19 }, "end": { "line": 17, "column": 22 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 22 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "_value", "decorators": [], "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 19 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 18, "column": 21 }, "end": { "line": 18, "column": 24 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 24 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "get", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 20, "column": 25 }, "end": { "line": 20, "column": 28 } } }, "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 21 } } }, "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 21 } } }, "overloads": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "set", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 28 } } }, "decorators": [], "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 28 } } }, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 28 } } } ], "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 21 } } }, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 21 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 21 } } } ], "decorators": [], "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 21 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "value", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "set", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "value", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "v", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 30 } } }, "decorators": [], "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 30 } } }, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 30 } } } ], "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 22, "column": 23 } } }, "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 22, "column": 23 } } }, "overloads": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "value", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "get", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "value", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 23, "column": 27 }, "end": { "line": 23, "column": 30 } } }, "loc": { "start": { "line": 23, "column": 23 }, "end": { "line": 23, "column": 23 } } }, "loc": { "start": { "line": 23, "column": 23 }, "end": { "line": 23, "column": 23 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 23, "column": 23 }, "end": { "line": 23, "column": 23 } } } ], "decorators": [], "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 22, "column": 23 } } }, { "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": 24, "column": 2 }, "end": { "line": 24, "column": 2 } } } ], "loc": { "start": { "line": 16, "column": 30 }, "end": { "line": 24, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 24, "column": 2 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "ChildClass", "decorators": [], "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 17 } } }, "superClass": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "AbstractClass", "decorators": [], "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 39 } } }, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 41 } } }, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 41 } } }, "implements": [], "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "_age", "decorators": [], "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 17 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 27, "column": 19 }, "end": { "line": 27, "column": 22 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 22 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "_value", "decorators": [], "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 19 } } }, "accessibility": "private", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 24 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 24 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "get", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 31, "column": 25 }, "end": { "line": 31, "column": 28 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 20 } } }, "property": { "type": "Identifier", "name": "_age", "decorators": [], "loc": { "start": { "line": 32, "column": 21 }, "end": { "line": 32, "column": 25 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 25 } } }, "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 26 } } } ], "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 33, "column": 6 } } }, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 33, "column": 6 } } }, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 33, "column": 6 } } }, "overloads": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "set", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "age", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 35, "column": 25 }, "end": { "line": 35, "column": 28 } } }, "decorators": [], "loc": { "start": { "line": 35, "column": 22 }, "end": { "line": 35, "column": 28 } } }, "loc": { "start": { "line": 35, "column": 22 }, "end": { "line": 35, "column": 28 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 35, "column": 31 }, "end": { "line": 35, "column": 35 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 13 } } }, "property": { "type": "Identifier", "name": "_age", "decorators": [], "loc": { "start": { "line": 36, "column": 14 }, "end": { "line": 36, "column": 18 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 18 } } }, "right": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 36, "column": 21 }, "end": { "line": 36, "column": 22 } } }, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 22 } } }, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 23 } } } ], "loc": { "start": { "line": 35, "column": 36 }, "end": { "line": 37, "column": 6 } } }, "loc": { "start": { "line": 35, "column": 21 }, "end": { "line": 37, "column": 6 } } }, "loc": { "start": { "line": 35, "column": 21 }, "end": { "line": 37, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 35, "column": 21 }, "end": { "line": 37, "column": 6 } } } ], "decorators": [], "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 33, "column": 6 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "value", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "set", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "value", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "v", "typeAnnotation": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 30 } } }, "decorators": [], "loc": { "start": { "line": 39, "column": 24 }, "end": { "line": 39, "column": 30 } } }, "loc": { "start": { "line": 39, "column": 24 }, "end": { "line": 39, "column": 30 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 39, "column": 33 }, "end": { "line": 39, "column": 37 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 13 } } }, "property": { "type": "Identifier", "name": "_value", "decorators": [], "loc": { "start": { "line": 40, "column": 14 }, "end": { "line": 40, "column": 20 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 20 } } }, "right": { "type": "Identifier", "name": "v", "decorators": [], "loc": { "start": { "line": 40, "column": 23 }, "end": { "line": 40, "column": 24 } } }, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 24 } } }, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 25 } } } ], "loc": { "start": { "line": 39, "column": 38 }, "end": { "line": 41, "column": 6 } } }, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 41, "column": 6 } } }, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 41, "column": 6 } } }, "overloads": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "value", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "get", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "value", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 43, "column": 27 }, "end": { "line": 43, "column": 30 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 20 } } }, "property": { "type": "Identifier", "name": "_value", "decorators": [], "loc": { "start": { "line": 44, "column": 21 }, "end": { "line": 44, "column": 27 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 27 } } }, "loc": { "start": { "line": 44, "column": 9 }, "end": { "line": 44, "column": 28 } } } ], "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 45, "column": 6 } } }, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 45, "column": 6 } } }, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 45, "column": 6 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 45, "column": 6 } } } ], "decorators": [], "loc": { "start": { "line": 39, "column": 23 }, "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": 46, "column": 2 }, "end": { "line": 46, "column": 2 } } } ], "loc": { "start": { "line": 26, "column": 40 }, "end": { "line": 46, "column": 2 } } }, "loc": { "start": { "line": 26, "column": 1 }, "end": { "line": 46, "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": 47, "column": 1 } } }