scphEditor
Interface OperandVisitor

All Known Implementing Classes:
DOMBuilder, OperandViewFactory, TermBuilder

public interface OperandVisitor

This is the ``visitor'' interface, as in the Visitor pattern, for visiting Operand trees. Since the acceptVisitor() methods in the Operand class does not traverse or recurse into children, you have do the traversal yourself, but it is up to you how (but please document). All this interface specifies is just the names (entry points) of the callbacks.

See Also:
Operand

Method Summary
 void visitExpression(Expression e)
          Called by Expression.acceptVisitor().
 void visitExpressionNary(ExpressionNary e)
          Called by ExpressionNary.acceptVisitor().
 void visitIdentifier(Identifier id)
          Called by Identifier.acceptVisitor().
 void visitVariable(Variable v)
          Called by Variable.acceptVisitor().
 

Method Detail

visitVariable

void visitVariable(Variable v)
Called by Variable.acceptVisitor().

Parameters:
v - the Variable object that calls me.
See Also:
Variable.acceptVisitor(scphEditor.OperandVisitor)

visitIdentifier

void visitIdentifier(Identifier id)
Called by Identifier.acceptVisitor().

Parameters:
id - the Identifier object that calls me.
See Also:
Identifier.acceptVisitor(scphEditor.OperandVisitor)

visitExpression

void visitExpression(Expression e)
Called by Expression.acceptVisitor().

Parameters:
e - the Expression object that calls me.
See Also:
Expression.acceptVisitor(scphEditor.OperandVisitor)

visitExpressionNary

void visitExpressionNary(ExpressionNary e)
Called by ExpressionNary.acceptVisitor().

Parameters:
e - the ExpressionNary object that calls me.
See Also:
ExpressionNary.acceptVisitor(scphEditor.OperandVisitor)