public final class ProcessCommonJSModules extends Object implements CompilerPass
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FILENAME_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
void |
process(Node externs,
Node root)
Process the JS with root node root.
|
static String |
toModuleName(String filename)
Turns a filename into a JS identifier that is used for moduleNames in
rewritten code.
|
public static final String DEFAULT_FILENAME_PREFIX
public void process(Node externs, Node root)
CompilerPassprocess in interface CompilerPassexterns - Top of external JS treeroot - Top of JS treeCopyright © 2009-2015 Google. All Rights Reserved.