Package com.google.javascript.jscomp
Class CrossChunkMethodMotion
- java.lang.Object
-
- com.google.javascript.jscomp.CrossChunkMethodMotion
-
- All Implemented Interfaces:
CompilerPass
public class CrossChunkMethodMotion extends java.lang.Object implements CompilerPass
Move prototype methods into later chunks.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STUB_DECLARATIONS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(Node externRoot, Node root)
Process the JS with root node root.
-
-
-
Field Detail
-
STUB_DECLARATIONS
public static final java.lang.String STUB_DECLARATIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 interfaceCompilerPass
- Parameters:
externRoot
- Top of external JS treeroot
- Top of JS tree
-
-