Class PassFactory


  • public abstract class PassFactory
    extends java.lang.Object
    A factory for creating JSCompiler passes based on the Options injected. Contains all meta-data about compiler passes (like whether it can be run multiple times, a human-readable name for logging, etc.).
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PassFactory​(java.lang.String name, boolean isOneTimePass)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PassFactory

        protected PassFactory​(java.lang.String name,
                              boolean isOneTimePass)
        Parameters:
        name - The name of the pass that this factory creates.
        isOneTimePass - If true, the pass produced by this factory can only be run once.