code: private void initializeModuleScope(Node moduleBody, Module module, TypedScope moduleScope) {
      if (module.metadata().isGoogModule()) {
        declareExportsInModuleScope(module, moduleBody, moduleScope);
        markGoogModuleExportsAsConst(module);
      }
    }
docs: Builds the beginning of a module-scope. This can be an ES module or a goog.module.