public class ExportTestFunctions extends Object implements CompilerPass
Modifier and Type | Method and Description |
---|---|
static boolean |
isTestFunction(String functionName)
Whether a function is recognized as a test function.
|
void |
process(Node externs,
Node root)
Process the JS with root node root.
|
public void process(Node externs, Node root)
CompilerPass
process
in interface CompilerPass
externs
- Top of external JS treeroot
- Top of JS treepublic static boolean isTestFunction(String functionName)
functionName
- The name of the functiontrue
if the function is recognized as a test function.Copyright © 2009-2017 Google. All Rights Reserved.