Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.deps |
Analyzes information about dependencies between files.
|
Modifier and Type | Method and Description |
---|---|
ModuleLoader.ResolutionMode |
CompilerOptions.getModuleResolutionMode() |
Modifier and Type | Method and Description |
---|---|
void |
CompilerOptions.setModuleResolutionMode(ModuleLoader.ResolutionMode mode) |
Modifier and Type | Method and Description |
---|---|
static ModuleLoader.ResolutionMode |
ModuleLoader.ResolutionMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleLoader.ResolutionMode[] |
ModuleLoader.ResolutionMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ModuleLoader(ErrorHandler errorHandler,
java.lang.Iterable<java.lang.String> moduleRoots,
java.lang.Iterable<? extends DependencyInfo> inputs,
ModuleLoader.PathResolver pathResolver,
ModuleLoader.ResolutionMode resolutionMode) |
ModuleLoader(ErrorHandler errorHandler,
java.lang.Iterable<java.lang.String> moduleRoots,
java.lang.Iterable<? extends DependencyInfo> inputs,
ModuleLoader.PathResolver pathResolver,
ModuleLoader.ResolutionMode resolutionMode,
java.util.Map<java.lang.String,java.lang.String> packageJsonMainEntries)
Creates an instance of the module loader which can be used to locate ES6 and CommonJS modules.
|
ModuleLoader(ErrorHandler errorHandler,
java.lang.Iterable<java.lang.String> moduleRoots,
java.lang.Iterable<? extends DependencyInfo> inputs,
ModuleLoader.ResolutionMode resolutionMode) |
Copyright © 2009-2018 Google. All Rights Reserved.