Package com.google.javascript.jscomp
Class GatherGetterAndSetterProperties
java.lang.Object
com.google.javascript.jscomp.GatherGetterAndSetterProperties
- All Implemented Interfaces:
CompilerPass
Finds getter and setter properties in the AST.
Used to back off certain optimizations, e.g. code removal.
-
Method Summary
-
Method Details
-
process
Description copied from interface:CompilerPass
Process the JS with root node root. Can modify the contents of each Node tree- Specified by:
process
in interfaceCompilerPass
- Parameters:
externs
- Top of external JS treeroot
- Top of JS tree
-
update
Gathers all getters and setters in the AST.
-