{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 1 } } }, "typeParameters": { "type": "TSTypeParameterDeclaration", "params": [ { "type": "TSTypeParameter", "name": { "type": "Identifier", "name": "T", "decorators": [], "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 1 } } }, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 1 } } } ], "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 1 } } }, "superClass": null, "implements": [], "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "parent", "decorators": [], "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 1 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 1 } } }, "typeParams": { "type": "TSTypeParameterInstantiation", "params": [ { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "T", "decorators": [], "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 1 } } }, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 1 } } }, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 1 } } } ], "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 1 } } }, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "definite": false, "decorators": [], "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 31, "column": 1 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "alma", "decorators": [], "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "alma", "decorators": [], "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "typeParams": { "type": "TSTypeParameterInstantiation", "params": [ { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "T", "decorators": [], "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } } ], "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 1 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "LogicalExpression", "operator": "??", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 32, "column": 1 }, "end": { "line": 32, "column": 1 } } }, "property": { "type": "Identifier", "name": "parent", "decorators": [], "loc": { "start": { "line": 32, "column": 1 }, "end": { "line": 32, "column": 1 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 32, "column": 1 }, "end": { "line": 32, "column": 1 } } }, "right": { "type": "ThisExpression", "loc": { "start": { "line": 32, "column": 1 }, "end": { "line": 32, "column": 1 } } }, "loc": { "start": { "line": 32, "column": 1 }, "end": { "line": 32, "column": 1 } } }, "loc": { "start": { "line": 32, "column": 1 }, "end": { "line": 32, "column": 1 } } } ], "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 33, "column": 1 } } }, "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 33, "column": 1 } } }, "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 33, "column": 1 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 33, "column": 1 } } }, { "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": 34, "column": 1 }, "end": { "line": 34, "column": 1 } } } ], "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 34, "column": 1 } } }, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 34, "column": 1 } } }, { "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": 35, "column": 1 } } }