static class PureFunctionIdentifier.Driver extends java.lang.Object implements CompilerPass
Modifier and Type | Field and Description |
---|---|
private AbstractCompiler |
compiler |
private java.lang.String |
reportPath |
private boolean |
useNameReferenceGraph |
Constructor and Description |
---|
Driver(AbstractCompiler compiler,
java.lang.String reportPath,
boolean useNameReferenceGraph) |
Modifier and Type | Method and Description |
---|---|
void |
process(Node externs,
Node root)
Process the JS with root node root.
|
private final AbstractCompiler compiler
private final java.lang.String reportPath
private final boolean useNameReferenceGraph
Driver(AbstractCompiler compiler, java.lang.String reportPath, boolean useNameReferenceGraph)
public void process(Node externs, Node root)
CompilerPass
process
in interface CompilerPass
externs
- Top of external JS treeroot
- Top of JS tree