Interface ModuleRequestResolver


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

    Modifier and Type
    Method
    Description
    @Nullable com.google.javascript.jscomp.modules.UnresolvedModule
    Returns the module that this export references, if it exists in the compilation.
    @Nullable com.google.javascript.jscomp.modules.UnresolvedModule
    Returns the module that this import references, if it exists in the compilation.
  • Method Details

    • 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.