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 |
---|---|
abstract ModuleLoader.ModulePath |
ModuleMetadataMap.ModuleMetadata.path() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ProcessCommonJSModules.getModuleName(ModuleLoader.ModulePath input) |
abstract ModuleMetadataMap.ModuleMetadata.Builder |
ModuleMetadataMap.ModuleMetadata.Builder.path(ModuleLoader.ModulePath value) |
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 |
Export.modulePath()
Returns the path of the containing module
|
abstract ModuleLoader.ModulePath |
Import.modulePath()
Returns the path of the containing module.
|
abstract ModuleLoader.ModulePath |
Module.path()
Path of this module.
|
Copyright © 2009-2018 Google. All Rights Reserved.