Class J2clClinitPrunerPass

java.lang.Object
com.google.javascript.jscomp.J2clClinitPrunerPass
All Implemented Interfaces:
CompilerPass

public class J2clClinitPrunerPass extends Object implements CompilerPass
An optimization pass to prune J2CL clinits.
  • Method Details

    • process

      public void process(Node externs, Node root)
      Description copied from interface: CompilerPass
      Process the JS with root node root. Can modify the contents of each Node tree
      Specified by:
      process in interface CompilerPass
      Parameters:
      externs - Top of external JS tree
      root - Top of JS tree