Uses of Class
com.google.javascript.jscomp.JSChunk
-
Packages that use JSChunk Package Description com.google.javascript.jscomp -
-
Uses of JSChunk in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return JSChunk Modifier and Type Method Description JSChunkCompilerInput. getChunk()Returns the module to which the input belongs.JSChunkJSChunkGraph.ChunkDependenceException. getChunk()@Nullable JSChunkNodeTraversal. getChunk()Gets the current input chunk.JSChunkJSChunkGraph. getDeepestCommonDependencyInclusive(JSChunk m1, JSChunk m2)Finds the deepest common dependency of two chunks, including the chunks themselves.JSChunkJSChunkGraph. getDeepestCommonDependencyInclusive(java.util.Collection<JSChunk> chunks)Returns the deepest common dependency of the given chunks.JSChunkJSChunkGraph.ChunkDependenceException. getDependentChunk()JSChunkJSChunkGraph. getSmallestCoveringSubtree(JSChunk parentTree, java.util.BitSet dependentChunks)Finds the chunk with the fewest transitive dependents on which all of the given chunks depend and that is a subtree of the given parent chunk tree.Methods in com.google.javascript.jscomp that return types with arguments of type JSChunk Modifier and Type Method Description static java.util.List<JSChunk>AbstractCommandLineRunner. createJsModules(java.util.List<AbstractCommandLineRunner.JsChunkSpec> specs, java.util.List<CompilerInput> inputs)Creates module objects from a list of chunk specifications.java.util.Set<JSChunk>JSChunk. getAllDependencies()Returns the transitive closure of dependencies starting from the dependencies of this chunk.com.google.common.collect.ImmutableList<JSChunk>JSChunk. getDependencies()Gets the list of chunks that this chunk depends on.@Nullable java.lang.Iterable<JSChunk>Compiler. getModules()Gets the JS source modules in dependency order.java.util.Set<JSChunk>JSChunk. getThisAndAllDependencies()Returns this chunk and all of its dependencies in one list.Methods in com.google.javascript.jscomp with parameters of type JSChunk Modifier and Type Method Description voidJSChunk. addDependency(JSChunk dep)Adds a dependency on another chunk.booleanJSChunkGraph. dependsOn(JSChunk src, JSChunk m)Determines whether this chunk depends on a given chunk.JSChunkJSChunkGraph. getDeepestCommonDependencyInclusive(JSChunk m1, JSChunk m2)Finds the deepest common dependency of two chunks, including the chunks themselves.protected NodeCompiler. getNodeForCodeInsertion(@Nullable JSChunk module)JSChunkJSChunkGraph. getSmallestCoveringSubtree(JSChunk parentTree, java.util.BitSet dependentChunks)Finds the chunk with the fewest transitive dependents on which all of the given chunks depend and that is a subtree of the given parent chunk tree.voidCompiler.ChunkGraphAwareLicenseTracker. setCurrentChunkContext(JSChunk chunk)voidCompilerInput. setModule(JSChunk module)Sets the module to which the input belongs.java.lang.StringCompiler. toSource(CodePrinter.LicenseTracker licenseTracker, JSChunk module)Converts the parse tree for a module back to JS code, using the given License Tracker to determine which licenses should be emitted before the source code.java.lang.StringCompiler. toSource(JSChunk module)Converts the parse tree for a module back to JS code.java.lang.String[]Compiler. toSourceArray(CodePrinter.LicenseTracker licenseTracker, JSChunk module)Converts the parse tree for each input in a module back to JS code, using the given License Tracker implementation to decide which licenses should be emitted before each input file.Method parameters in com.google.javascript.jscomp with type arguments of type JSChunk Modifier and Type Method Description JSChunkJSChunkGraph. getDeepestCommonDependencyInclusive(java.util.Collection<JSChunk> chunks)Returns the deepest common dependency of the given chunks.static java.util.Map<java.lang.String,java.lang.String>AbstractCommandLineRunner. parseModuleWrappers(java.util.List<java.lang.String> specs, java.lang.Iterable<JSChunk> chunks)Parses module wrapper specifications.Constructors in com.google.javascript.jscomp with parameters of type JSChunk Constructor Description ChunkDependenceException(java.lang.String message, JSChunk chunk, JSChunk dependentChunk)JSChunkGraph(JSChunk[] chunksInDepOrder)Creates a chunk graph from a list of chunks in dependency order.Constructor parameters in com.google.javascript.jscomp with type arguments of type JSChunk Constructor Description JSChunkGraph(java.util.List<JSChunk> chunksInDepOrder)Creates a chunk graph from a list of chunks in dependency order.
-