public class CheckEventfulObjectDisposal extends Object implements CompilerPass
Modifier and Type | Class and Description |
---|---|
static class |
CheckEventfulObjectDisposal.DisposalCheckingPolicy
Policies to determine the disposal checking level.
|
Modifier and Type | Field and Description |
---|---|
static int |
DISPOSE_ALL
Constant used to signify all arguments of method/function
should be marked as disposed.
|
static int |
DISPOSE_SELF
Constant used to signify that object on which this method is called,
will itself get disposed of.
|
Constructor and Description |
---|
CheckEventfulObjectDisposal(AbstractCompiler compiler,
CheckEventfulObjectDisposal.DisposalCheckingPolicy checkingPolicy) |
public static final int DISPOSE_ALL
public static final int DISPOSE_SELF
public CheckEventfulObjectDisposal(AbstractCompiler compiler, CheckEventfulObjectDisposal.DisposalCheckingPolicy checkingPolicy)
public void process(Node externs, Node root)
CompilerPass
process
in interface CompilerPass
externs
- Top of external JS treeroot
- Top of JS treeCopyright © 2009-2014 Google. All Rights Reserved.