CogPar
A versatile parser for mathematical expressions.
 All Classes Functions Variables
Public Member Functions | List of all members
uk.co.cogitolearning.cogpar.ExpressionNodeVisitor Interface Reference

An interface for the visitor design pattern. More...

Inheritance diagram for uk.co.cogitolearning.cogpar.ExpressionNodeVisitor:
Inheritance graph
[legend]

Public Member Functions

void visit (VariableExpressionNode node)
 Visit a VariableExpressionNode.
void visit (ConstantExpressionNode node)
 Visit a ConstantExpressionNode.
void visit (AdditionExpressionNode node)
 Visit a AdditionExpressionNode.
void visit (MultiplicationExpressionNode node)
 Visit a MultiplicationExpressionNode.
void visit (ExponentiationExpressionNode node)
 Visit a ExponentiationExpressionNode.
void visit (FunctionExpressionNode node)
 Visit a FunctionExpressionNode.

Detailed Description

An interface for the visitor design pattern.

Expression nodes can be visited by ExpressionNodeVisitor by calling their accept methods. The expression nodes, in turn, call the appropriate visit method of the expression node visitor.

Definition at line 34 of file ExpressionNodeVisitor.java.


The documentation for this interface was generated from the following file: