Class DisambiguateProperties2

  • All Implemented Interfaces:
    CompilerPass

    public final class DisambiguateProperties2
    extends java.lang.Object
    implements CompilerPass
    Assembles the various parts of the diambiguator to execute them as a compiler pass.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DisambiguateProperties2

        public DisambiguateProperties2​(AbstractCompiler compiler,
                                       com.google.common.collect.ImmutableMap<java.lang.String,​CheckLevel> invalidationReportingLevelByProp)
    • 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 interface CompilerPass
        Parameters:
        externs - Top of external JS tree
        root - Top of JS tree