Interface IPDOMVisitor


public interface IPDOMVisitor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    All children have been visited, about to go back to the parent.
    boolean
    Walks the nodes in a PDOM.
  • Method Details

    • visit

      boolean visit(IPDOMNode node) throws org.eclipse.core.runtime.CoreException
      Walks the nodes in a PDOM. Returns true to visit the children of the node, or false to skip to the next sibling of this node. Throw CoreException to stop the visit.
      Parameters:
      node - being visited
      Returns:
      whether to visit children
      Throws:
      org.eclipse.core.runtime.CoreException
    • leave

      void leave(IPDOMNode node) throws org.eclipse.core.runtime.CoreException
      All children have been visited, about to go back to the parent.
      Parameters:
      node - that has just completed visitation
      Throws:
      org.eclipse.core.runtime.CoreException