public class BrowserModuleResolver extends ModuleResolver
Only unambiguous paths are supported. Paths must specify a file extension.
errorHandler, modulePaths, moduleRootPaths
Constructor and Description |
---|
BrowserModuleResolver(com.google.common.collect.ImmutableSet<String> modulePaths,
com.google.common.collect.ImmutableList<String> moduleRootPaths,
ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
String |
resolveJsModule(String scriptAddress,
String moduleAddress,
String sourcename,
int lineno,
int colno) |
canonicalizePath, locate
public BrowserModuleResolver(com.google.common.collect.ImmutableSet<String> modulePaths, com.google.common.collect.ImmutableList<String> moduleRootPaths, ErrorHandler errorHandler)
@Nullable public String resolveJsModule(String scriptAddress, String moduleAddress, String sourcename, int lineno, int colno)
resolveJsModule
in class ModuleResolver
Copyright © 2009-2017 Google. All Rights Reserved.