{ "type": "Program", "statements": [ { "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 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 13 } } }, "kind": "method", "accessibility": "public", "static": true, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 13 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ETSParameterExpression", "name": { "type": "Identifier", "name": "exec", "typeAnnotation": { "type": "ETSUnionType", "types": [ { "type": "ETSFunctionType", "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 16, "column": 27 }, "end": { "line": 16, "column": 31 } } }, "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 31 } } }, { "type": "ETSUndefinedType", "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 19 } } } ], "loc": { "start": { "line": 16, "column": 21 }, "end": { "line": 16, "column": 31 } } }, "decorators": [], "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 16, "column": 31 } } }, "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 16, "column": 31 } } } ], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 16, "column": 34 }, "end": { "line": 16, "column": 38 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "BlockExpression", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "gensym$_4", "decorators": [], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "init": { "type": "Identifier", "name": "exec", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 9 } } }, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } } ], "kind": "let", "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 13 } } }, { "type": "ExpressionStatement", "expression": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "==", "left": { "type": "Identifier", "name": "gensym$_4", "decorators": [], "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "right": { "type": "NullLiteral", "value": null, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "consequent": { "type": "UndefinedLiteral", "value": undefined, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "alternate": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "gensym$_4", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 13 } } }, "arguments": [], "optional": false, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 13 } } }, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } }, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 3 } } } ], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 13 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 13 } } } ], "loc": { "start": { "line": 16, "column": 39 }, "end": { "line": 18, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 18, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 18, "column": 2 } } }, "overloads": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 13 } } }, "kind": "method", "accessibility": "public", "static": true, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 16, "column": 10 }, "end": { "line": 16, "column": 13 } } }, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "ETSPrimitiveType", "loc": { "start": { "line": 16, "column": 34 }, "end": { "line": 16, "column": 38 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "arguments": [ { "type": "UndefinedLiteral", "value": undefined, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } } ], "optional": false, "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 18, "column": 2 } } }, "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": 611, "column": 1 }, "end": { "line": 611, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 1, "column": 1 } } } ], "decorators": [], "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 18, "column": 2 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "bar", "decorators": [], "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 13 } } }, "kind": "method", "accessibility": "public", "static": true, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "bar", "decorators": [], "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 13 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 8 } } }, "arguments": [], "optional": false, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 10 } } }, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 10 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 27, "column": 5 }, "end": { "line": 27, "column": 8 } } }, "arguments": [], "optional": false, "loc": { "start": { "line": 27, "column": 5 }, "end": { "line": 27, "column": 10 } } }, "loc": { "start": { "line": 27, "column": 5 }, "end": { "line": 27, "column": 10 } } } ], "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 28, "column": 2 } } }, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 28, "column": 2 } } }, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 28, "column": 2 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 28, "column": 2 } } } ], "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": 29, "column": 1 } } }