public interface CompilerPass
Interface for classes that can compile JS.
Class has single function "process", which is passed the root node of the parsed JS tree, as well as the root node of the external JS tree (used to provide a public API and prevent renaming of system functions).
Use this class to support testing with BaseCompilerTest
Modifier and Type | Method and Description |
---|---|
void |
process(Node externs,
Node root)
Process the JS with root node root.
|
Copyright © 2009-2018 Google. All Rights Reserved.