Interface INodeVisitor<T>

All Known Subinterfaces:
ICVisitor, IDVisitor, IEVisitor, IJVisitor
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface INodeVisitor<T>
Tree visitor interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(T e, T parent, IVisitResults<T> results)
    Process a node being visited.
  • Method Details

    • process

      void process(T e, T parent, IVisitResults<T> results)
      Process a node being visited.
      Parameters:
      e - the node being visited
      parent - the preceding node, either the parent node or null for the current local root
      results - data used to act on the traversal process