| 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.
|
| com.google.javascript.jscomp.modules |
| Modifier and Type | Method and Description |
|---|---|
ModuleLoader.ModulePath |
CompilerInput.getPath() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
ProcessCommonJSModules.getModuleName(ModuleLoader.ModulePath input) |
| Modifier and Type | Method and Description |
|---|---|
ModuleLoader.ModulePath |
ModuleLoader.resolve(java.lang.String path)
Resolves a path into a
ModuleLoader.ModulePath. |
ModuleLoader.ModulePath |
ModuleLoader.ModulePath.resolveJsModule(java.lang.String moduleAddress)
Find a JS module
requireName. |
ModuleLoader.ModulePath |
ModuleLoader.ModulePath.resolveJsModule(java.lang.String moduleAddress,
java.lang.String sourcename,
int lineno,
int colno)
Find a JS module
requireName. |
ModuleLoader.ModulePath |
ModuleLoader.ModulePath.resolveModuleAsPath(java.lang.String moduleAddress)
Treats the module address as a path and returns the name of that module.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModuleLoader.ModulePath.equalsIgnoreLeadingSlash(ModuleLoader.ModulePath other)
Determines if this path is the same as another path, ignoring any potential leading slashes
on both.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ModuleLoader.ModulePath |
Import.modulePath()
Returns the path of the containing module, if from an ES module.
|
abstract ModuleLoader.ModulePath |
Export.modulePath()
Returns the path of the containing module
|
abstract ModuleLoader.ModulePath |
Module.path()
Path of this module.
|
abstract ModuleLoader.ModulePath |
ModuleMetadataMap.ModuleMetadata.path() |
| Modifier and Type | Method and Description |
|---|---|
Module |
ModuleMap.getModule(ModuleLoader.ModulePath path) |
abstract Module.Builder |
Module.Builder.path(ModuleLoader.ModulePath value) |
abstract ModuleMetadataMap.ModuleMetadata.Builder |
ModuleMetadataMap.ModuleMetadata.Builder.path(ModuleLoader.ModulePath value) |
com.google.javascript.jscomp.modules.UnresolvedModule |
EsModuleProcessor.process(ModuleMetadataMap.ModuleMetadata metadata,
ModuleLoader.ModulePath path,
Node script) |
Copyright © 2009-2019 Google. All Rights Reserved.