Class CrossChunkMethodMotion

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

public class CrossChunkMethodMotion extends Object implements CompilerPass
Move prototype methods into later chunks.
  • Field Details

  • Method Details

    • process

      public void process(Node externRoot, 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:
      externRoot - Top of external JS tree
      root - Top of JS tree