|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
---|
void visitVariable(Variable v)
v
- the Variable object that calls me.Variable.acceptVisitor(scphEditor.OperandVisitor)
void visitIdentifier(Identifier id)
id
- the Identifier object that calls me.Identifier.acceptVisitor(scphEditor.OperandVisitor)
void visitExpression(Expression e)
e
- the Expression object that calls me.Expression.acceptVisitor(scphEditor.OperandVisitor)
void visitExpressionNary(ExpressionNary e)
e
- the ExpressionNary object that calls me.ExpressionNary.acceptVisitor(scphEditor.OperandVisitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |