Interface SymbolicVisitor

All Known Implementing Classes:
DefaultSimplification

public interface SymbolicVisitor
A Visitor interface used to perform symbolic manipulations on expressions, such as simplifications; a concrete expression calls the appropriate method of the Visitor passing a reference to itself.
  • Method Details

    • visitBinaryExpression

      Expression visitBinaryExpression(Bindings bindings, BinaryExpression e)
      Called by a binary expression.
      Parameters:
      bindings - The bindings.
      e - The calling expression.
      Returns:
      The manipulated expression.
    • visitBrackets

      Expression visitBrackets(Bindings bindings, Brackets e)
      Called by a bracket expression.
      Parameters:
      bindings - The bindings.
      e - The calling expression.
      Returns:
      The manipulated expression.
    • visitConstant

      Expression visitConstant(Bindings bindings, Constant e)
      Called by a constant.
      Parameters:
      bindings - The bindings.
      e - The calling expression.
      Returns:
      The manipulated expression.
    • visitFunctionCall

      Expression visitFunctionCall(Bindings bindings, FunctionCall e)
      Called by a function call expression.
      Parameters:
      bindings - The bindings.
      e - The calling expression.
      Returns:
      The manipulated expression.
    • visitUnaryExpression

      Expression visitUnaryExpression(Bindings bindings, UnaryExpression e)
      Called by an unary expression.
      Parameters:
      bindings - The bindings.
      e - The calling expression.
      Returns:
      The manipulated expression.
    • visitVariable

      Expression visitVariable(Bindings bindings, Variable e)
      Called by a variable reference.
      Parameters:
      bindings - The bindings.
      e - The calling expression.
      Returns:
      The manipulated expression.