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 | Class and Description |
---|---|
class |
CompilerInput
A class for the internal representation of an input to the compiler.
|
class |
JSModule
A JavaScript module has a unique name, consists of a list of compiler inputs,
and can depend on other modules.
|
Modifier and Type | Class and Description |
---|---|
class |
ClosureSortedDependencies<INPUT extends DependencyInfo>
A sorted list of inputs with dependency information.
|
class |
Es6SortedDependencies<INPUT extends DependencyInfo>
A sorted list of inputs following the ES6 module ordering spec.
|
interface |
SortedDependencies<INPUT extends DependencyInfo>
A sorted list of inputs with dependency information.
|
Modifier and Type | Class and Description |
---|---|
static class |
DependencyInfo.Base
Abstract base implementation that defines derived accessors such
as
DependencyInfo.Base.isModule() . |
class |
SimpleDependencyInfo
A class to hold JS dependency information for a single .js file.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<DependencyInfo> |
DepsFileParser.depInfos
The dependency information extracted from the current file.
|
Modifier and Type | Method and Description |
---|---|
DependencyInfo |
JsFileParser.parseFile(java.lang.String filePath,
java.lang.String closureRelativePath,
java.lang.String fileContents) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DependencyInfo> |
DepsFileParser.parseFile(java.lang.String filePath)
Parses the given file and returns a list of dependency information that it
contained.
|
java.util.List<DependencyInfo> |
DepsFileParser.parseFile(java.lang.String filePath,
java.lang.String fileContents)
Parses the given file and returns a list of dependency information that it
contained.
|
java.util.List<DependencyInfo> |
DepsFileParser.parseFileReader(java.lang.String filePath,
java.io.Reader reader)
Parses the file from the given reader and returns a list of
dependency information that it contained.
|