Uses of Interface
com.google.javascript.jscomp.CodePrinter.LicenseTracker
Packages that use CodePrinter.LicenseTracker
-
Uses of CodePrinter.LicenseTracker in com.google.javascript.jscomp
Classes in com.google.javascript.jscomp that implement CodePrinter.LicenseTrackerModifier and TypeClassDescriptionstatic class
An implementation of a license tracker to be used when licenses can be de-duped among Chunks (because licenses might be loaded by a chunk's transitive dependencies.static class
A license tracker implementation that emits all licenses attached to script nodes, regardless of if the content of that script is used anywhere in the compilation.static final class
A license tracker implementation that only retains licenses for which there are useful nodes in a binary.Methods in com.google.javascript.jscomp with parameters of type CodePrinter.LicenseTrackerModifier and TypeMethodDescriptionCodePrinter.Builder.setLicenseTracker
(CodePrinter.LicenseTracker licenseTracker) Sets the license tracker to use when printing.Compiler.toSource
(CodePrinter.LicenseTracker licenseTracker, JSChunk chunk) Converts the parse tree for a chunk back to JS code, using the given License Tracker to determine which licenses should be emitted before the source code.void
Compiler.toSource
(Compiler.CodeBuilder cb, CodePrinter.LicenseTracker licenseTracker, int inputSeqNum, Node root) Writes out JS code from a root node.String[]
Compiler.toSourceArray
(CodePrinter.LicenseTracker licenseTracker, JSChunk chunk) 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.