{ "type": "Program", "statements": [ { "type": "ImportDeclaration", "source": { "type": "StringLiteral", "value": "./internals", "loc": { "start": { "line": 16, "column": 37 }, "end": { "line": 16, "column": 50 } } }, "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "__memo_context_type", "decorators": [], "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 29 } } }, "imported": { "type": "Identifier", "name": "__memo_context_type", "decorators": [], "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 29 } } }, "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 29 } } } ], "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 16, "column": 51 } } }, { "type": "ImportDeclaration", "source": { "type": "StringLiteral", "value": "../import_tests/internals", "loc": { "start": { "line": 17, "column": 27 }, "end": { "line": 17, "column": 54 } } }, "specifiers": [ { "type": "ImportSpecifier", "local": { "type": "Identifier", "name": "__context", "decorators": [], "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 19 } } }, "imported": { "type": "Identifier", "name": "__context", "decorators": [], "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 19 } } }, "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 19 } } } ], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 55 } } }, { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "name", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "name", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "string", "decorators": [], "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 18 } } }, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 19 } } }, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 19 } } }, "declare": true, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } }, "overloads": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "name", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "name", "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": "name", "typeAnnotation": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "string", "decorators": [], "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 18 } } }, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 19 } } }, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 19 } } }, "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 9 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 9 } } } ], "declare": true, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } } ], "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "name", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "method", "accessibility": "public", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "name", "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": "name", "typeAnnotation": { "type": "ETSTypeReference", "part": { "type": "ETSTypeReferencePart", "name": { "type": "Identifier", "name": "string", "decorators": [], "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 18 } } }, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 19 } } }, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 19 } } }, "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 9 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 9 } } } ], "declare": true, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 19 } } } ], "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 21, "column": 2 } } }, "id": { "type": "Identifier", "name": "Test", "decorators": [], "loc": { "start": { "line": 19, "column": 11 }, "end": { "line": 19, "column": 15 } } }, "extends": [], "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 22, "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": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "__linker", "decorators": [], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "init": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "Class", "decorators": [], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "property": { "type": "Identifier", "name": "ofCaller", "decorators": [], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "arguments": [], "optional": false, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "property": { "type": "Identifier", "name": "getLinker", "decorators": [], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "arguments": [], "optional": false, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } } ], "kind": "const", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 3 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "__linker", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 3 } } }, "property": { "type": "Identifier", "name": "loadClass", "decorators": [], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 3 } } }, "arguments": [ { "type": "StringLiteral", "value": "internals.ETSGLOBAL", "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, { "type": "BooleanLiteral", "value": true, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } } ], "optional": false, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 3 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 3 } } } ], "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": 22, "column": 1 } } }