{
  "type": "Program",
  "statements": [
    {
      "type": "ImportDeclaration",
      "source": {
        "type": "StringLiteral",
        "value": "./../subpackage_2/separate_module_1"
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "myvar"
          },
          "imported": {
            "type": "Identifier",
            "name": "myvar"
          }
        }
      ]
    },
    {
      "type": "ClassDeclaration",
      "definition": {
        "id": {
          "type": "Identifier",
          "name": "ETSGLOBAL"
        },
        "superClass": null,
        "implements": [],
        "body": [
          {
            "type": "MethodDefinition",
            "key": {
              "type": "Identifier",
              "name": "_$initializerBlockInit$_mypackage"
            },
            "kind": "method",
            "accessibility": "public",
            "static": true,
            "optional": false,
            "computed": false,
            "value": {
              "type": "FunctionExpression",
              "function": {
                "type": "ScriptFunction",
                "id": {
                  "type": "Identifier",
                  "name": "_$initializerBlockInit$_mypackage"
                },
                "generator": false,
                "async": false,
                "expression": false,
                "params": [],
                "returnType": {
                  "type": "ETSPrimitiveType"
                },
                "body": {
                  "type": "BlockStatement",
                  "statements": [
                    {
                      "type": "BlockStatement",
                      "statements": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "AssignmentExpression",
                            "operator": "=",
                            "left": {
                              "type": "Identifier",
                              "name": "foo"
                            },
                            "right": {
                              "type": "ArrowFunctionExpression",
                              "function": {
                                "type": "ScriptFunction",
                                "id": null,
                                "generator": false,
                                "async": false,
                                "expression": false,
                                "params": [],
                                "returnType": {
                                  "type": "ETSTypeReference",
                                  "part": {
                                    "type": "ETSTypeReferencePart",
                                    "name": {
                                      "type": "Identifier",
                                      "name": "number"
                                    }
                                  }
                                },
                                "body": {
                                  "type": "BlockStatement",
                                  "statements": [
                                    {
                                      "type": "ReturnStatement",
                                      "argument": {
                                        "type": "Identifier",
                                        "name": "myvar"
                                      }
                                    }
                                  ]
                                }
                              }
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            },
            "overloads": []
          },
          {
            "type": "ClassProperty",
            "key": {
              "type": "Identifier",
              "name": "foo"
            },
            "accessibility": "public",
            "static": true,
            "readonly": false,
            "declare": false,
            "optional": false,
            "computed": false,
            "typeAnnotation": {
              "type": "ETSFunctionType",
              "params": [],
              "returnType": {
                "type": "ETSTypeReference",
                "part": {
                  "type": "ETSTypeReferencePart",
                  "name": {
                    "type": "Identifier",
                    "name": "number"
                  }
                }
              }
            },
            "definite": false
          }
        ]
      }
    }
  ]
}
[package_module_2.ets:16:9] Syntax error ESY139148: The package keyword is deprecated.
