Class DisambiguateProperties
- java.lang.Object
-
- com.google.javascript.jscomp.disambiguate.DisambiguateProperties
-
- All Implemented Interfaces:
CompilerPass
public final class DisambiguateProperties extends java.lang.Object implements CompilerPass
Assembles the various parts of the diambiguator to execute them as a compiler pass.
-
-
Field Summary
Fields Modifier and Type Field Description static DiagnosticType
PROPERTY_INVALIDATION
-
Constructor Summary
Constructors Constructor Description DisambiguateProperties(AbstractCompiler compiler, com.google.common.collect.ImmutableSet<java.lang.String> propertiesThatMustDisambiguate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(Node externs, Node root)
Process the JS with root node root.
-
-
-
Field Detail
-
PROPERTY_INVALIDATION
public static final DiagnosticType PROPERTY_INVALIDATION
-
-
Constructor Detail
-
DisambiguateProperties
public DisambiguateProperties(AbstractCompiler compiler, com.google.common.collect.ImmutableSet<java.lang.String> propertiesThatMustDisambiguate)
-
-
Method Detail
-
process
public void process(Node externs, Node root)
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
-
-