prefuse.data.expression
Interface ExpressionVisitor


public interface ExpressionVisitor

Visitor interface for objects that visit each sub-expression of an Expression instance, performing some computation or data collection.

Author:
jeffrey heer

Method Summary
 void down()
          Callback to signal that the visitor has just descended a level in the Expression tree.
 void up()
          Callback to signal that the visitor has just ascended a level in the Expression tree.
 void visitExpression(Expression expr)
          Callback made when visiting a particular expression.
 

Method Detail

visitExpression

void visitExpression(Expression expr)
Callback made when visiting a particular expression.

Parameters:
expr - the expression currently being visited.

down

void down()
Callback to signal that the visitor has just descended a level in the Expression tree.


up

void up()
Callback to signal that the visitor has just ascended a level in the Expression tree.



Copyright © 2007 Regents of the University of California