class ErrorPass extends java.lang.Object implements CompilerPass
| Modifier and Type | Field and Description |
|---|---|
private AbstractCompiler |
compiler |
private JSError |
error |
| Constructor and Description |
|---|
ErrorPass(AbstractCompiler compiler,
DiagnosticType error) |
ErrorPass(AbstractCompiler compiler,
JSError error) |
| 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 JSError error
ErrorPass(AbstractCompiler compiler, DiagnosticType error)
ErrorPass(AbstractCompiler compiler, JSError error)
public void process(Node externs, Node root)
CompilerPassprocess in interface CompilerPassexterns - Top of external JS treeroot - Top of JS tree