class NameAnonymousFunctions extends java.lang.Object implements CompilerPass
Modifier and Type | Class and Description |
---|---|
private class |
NameAnonymousFunctions.AnonymousFunctionNamer
Names anonymous functions.
|
Modifier and Type | Field and Description |
---|---|
private int |
bytesUsed |
private AbstractCompiler |
compiler |
(package private) static char |
DELIMITER |
private static java.util.logging.Logger |
logger |
private int |
namedCount |
Constructor and Description |
---|
NameAnonymousFunctions(AbstractCompiler compiler) |
Modifier and Type | Method and Description |
---|---|
void |
process(Node externs,
Node root)
Process the JS with root node root.
|
private static final java.util.logging.Logger logger
static final char DELIMITER
private final AbstractCompiler compiler
private int namedCount
private int bytesUsed
NameAnonymousFunctions(AbstractCompiler compiler)
public void process(Node externs, Node root)
CompilerPass
process
in interface CompilerPass
externs
- Top of external JS treeroot
- Top of JS tree