Package com.google.javascript.jscomp
Class Compiler.SingleBinaryLicenseTracker
- java.lang.Object
-
- com.google.javascript.jscomp.Compiler.SingleBinaryLicenseTracker
-
- All Implemented Interfaces:
CodePrinter.LicenseTracker
- Enclosing class:
- Compiler
public static final class Compiler.SingleBinaryLicenseTracker extends java.lang.Object
A license tracker implementation that only retains licenses for which there are useful nodes in a binary. This will ignore licenses attached to script or root nodes when there are no other nodes from that script in use in the binary (likely removed due to compiler optimizations).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
shouldUseLicenseInfo(Node node)
-
-
-
Method Detail
-
shouldUseLicenseInfo
protected boolean shouldUseLicenseInfo(Node node)
-
-