Uses of Class
com.google.javascript.jscomp.CompilerInput
-
Packages that use CompilerInput Package Description com.google.javascript.jscomp com.google.javascript.jscomp.serialization -
-
Uses of CompilerInput in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return CompilerInput Modifier and Type Method Description CompilerInput
JSModule. getByName(java.lang.String name)
Returns the input with the given name or null if none.abstract CompilerInput
AbstractCompiler. getInput(InputId inputId)
Looks up an input (possibly an externs input) by input id.CompilerInput
Compiler. getInput(InputId id)
CompilerInput
CompilerInputProvider. getInput(InputId inputId)
Looks up an input (possibly an externs input) by input id.CompilerInput
JSModule. getInput(int i)
Returns the i-th source code input.CompilerInput
NodeTraversal. getInput()
Gets the current input source.Methods in com.google.javascript.jscomp that return types with arguments of type CompilerInput Modifier and Type Method 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.Methods in com.google.javascript.jscomp with parameters of type CompilerInput Modifier and Type Method 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)
java.lang.String
UniqueIdSupplier. getUniqueId(CompilerInput input)
Creates and returns a unique Id across all compiler input source files.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.protected void
CommandLineRunner. prepForBundleAndAppendTo(java.lang.Appendable out, CompilerInput input, java.lang.String content)
void
JSModule. remove(CompilerInput input)
Removes an input from this module. -
Uses of CompilerInput in com.google.javascript.jscomp.serialization
Methods in com.google.javascript.jscomp.serialization that return types with arguments of type CompilerInput Modifier and Type Method Description abstract com.google.common.collect.ImmutableMap<InputId,CompilerInput>
TypedAstDeserializer.DeserializedAst. getInputsById()
-