Interface ModuleRequestResolver


  • public interface ModuleRequestResolver
    Resolves requests for other modules.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.javascript.jscomp.modules.UnresolvedModule resolve​(Export e)
      Returns the module that this export references, if it exists in the compilation.
      com.google.javascript.jscomp.modules.UnresolvedModule resolve​(Import i)
      Returns the module that this import references, if it exists in the compilation.
    • Method Detail

      • resolve

        @Nullable
        com.google.javascript.jscomp.modules.UnresolvedModule resolve​(Import i)
        Returns the module that this import references, if it exists in the compilation.
      • resolve

        @Nullable
        com.google.javascript.jscomp.modules.UnresolvedModule resolve​(Export e)
        Returns the module that this export references, if it exists in the compilation.