Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
CompilerInput |
JSModule.getByName(java.lang.String name)
Returns the input with the given name or null if none.
|
CompilerInput |
NodeTraversal.getInput()
Gets the current input source.
|
CompilerInput |
CompilerInputProvider.getInput(InputId inputId)
Looks up an input (possibly an externs input) by input id.
|
abstract CompilerInput |
AbstractCompiler.getInput(InputId inputId)
Looks up an input (possibly an externs input) by input id.
|
CompilerInput |
Compiler.getInput(InputId id) |
CompilerInput |
JSModule.getInput(int i)
Returns the i-th source code input.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CompilerInput> |
JSModule.getInputs()
Gets this module's list of source code inputs.
|
java.util.Map<InputId,CompilerInput> |
Compiler.getInputsById()
Returns an unmodifiable view of the compiler inputs indexed by id.
|
com.google.common.collect.ImmutableList<CompilerInput> |
JSModuleGraph.manageDependencies(AbstractCompiler compiler,
DependencyOptions dependencyOptions)
Apply the dependency options to the list of sources, returning a new source list re-ordering
and dropping files as necessary.
|
Modifier and Type | Method and Description |
---|---|
void |
JSModule.add(CompilerInput input)
Adds a source code input to this module.
|
void |
JSModule.addAfter(CompilerInput input,
CompilerInput other)
Adds a source code input to this module directly after other.
|
static java.lang.String |
ProcessCommonJSModules.getModuleName(CompilerInput input) |
protected void |
CommandLineRunner.prepForBundleAndAppendTo(java.lang.Appendable out,
CompilerInput input,
java.lang.String content) |
protected abstract void |
AbstractCommandLineRunner.prepForBundleAndAppendTo(java.lang.Appendable out,
CompilerInput input,
java.lang.String content)
Performs any transformation needed on the given compiler input and appends it to the given
output bundle.
|
void |
JSModule.remove(CompilerInput input)
Removes an input from this module.
|
Copyright © 2009-2019 Google. All Rights Reserved.