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 |
SortedDependencies<INPUT extends DependencyInfo>
A sorted list of inputs with dependency information.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleDependencyInfo
A class to hold JS dependency information for a single .js file.
|
Modifier and Type | Method and Description |
---|---|
DependencyInfo |
DependencyFile.getDependencyInfo(String symbol)
Gets the dependency info for the provided symbol, if contained in this
dependency file.
|
DependencyInfo |
JsFileParser.parseFile(String filePath,
String closureRelativePath,
String fileContents)
Parses the given file and returns the dependency information that it
contained.
|
Modifier and Type | Method and Description |
---|---|
List<DependencyInfo> |
DepsFileParser.parseFile(String filePath)
Parses the given file and returns a list of dependency information that it
contained.
|
List<DependencyInfo> |
DepsFileParser.parseFile(String filePath,
String fileContents)
Parses the given file and returns a list of dependency information that it
contained.
|
List<DependencyInfo> |
DepsFileParser.parseFileReader(String filePath,
Reader reader)
Parses the file from the given reader and returns a list of
dependency information that it contained.
|
Modifier and Type | Method and Description |
---|---|
static void |
ClosureBundler.appendInput(Appendable out,
DependencyInfo info,
String contents)
Append the contents of the string to the supplied appendable.
|
void |
ClosureBundler.appendTo(Appendable out,
DependencyInfo info,
File content,
Charset contentCharset)
Append the contents of the file to the supplied appendable.
|
void |
ClosureBundler.appendTo(Appendable out,
DependencyInfo info,
String content)
Append the contents of the string to the supplied appendable.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DepsGenerator.cleanUpDuplicatedFiles(Map<String,DependencyInfo> depsFiles,
Map<String,DependencyInfo> jsFiles)
Removes duplicated depsInfo from jsFiles if this info already present in
some of the parsed deps.js
|
protected void |
DepsGenerator.cleanUpDuplicatedFiles(Map<String,DependencyInfo> depsFiles,
Map<String,DependencyInfo> jsFiles)
Removes duplicated depsInfo from jsFiles if this info already present in
some of the parsed deps.js
|
Copyright © 2009-2014 Google. All Rights Reserved.