Class ReferenceCollector

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ReferenceCollector.Behavior
      Way for callers to add specific behavior during traversal that utilizes the built-up reference information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<Var> getAllSymbols()
      Gets the variables that were referenced in this callback.
      ReferenceCollection getReferences​(Var v)
      Gets the reference collection for the given variable.
      Scope getScope​(Var var)
      Returns the scope for a given symbol.
      void process​(Node root)  
      void process​(Node externs, Node root)
      Convenience method for running this pass over a tree with this class as a callback.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait