Uses of Interface
com.google.javascript.jscomp.CodePrinter.LicenseTracker
-
Packages that use CodePrinter.LicenseTracker Package Description com.google.javascript.jscomp -
-
Uses of CodePrinter.LicenseTracker in com.google.javascript.jscomp
Classes in com.google.javascript.jscomp that implement CodePrinter.LicenseTracker Modifier and Type Class Description static class
Compiler.ChunkGraphAwareLicenseTracker
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
Compiler.ScriptNodeLicensesOnlyTracker
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 class
Compiler.SingleBinaryLicenseTracker
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.LicenseTracker Modifier and Type Method Description CodePrinter.Builder
CodePrinter.Builder. setLicenseTracker(CodePrinter.LicenseTracker licenseTracker)
Sets the license tracker to use when printing.java.lang.String
Compiler. 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.void
Compiler. toSource(Compiler.CodeBuilder cb, CodePrinter.LicenseTracker licenseTracker, int inputSeqNum, Node root)
Writes out JS code from a root node.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.
-