Package com.singularsys.jep

# Interface ParserVisitor

All Known Implementing Classes:
  `DeepCopyVisitor`, `DoNothingVisitor`, `FastEvaluator3_4`, `FastEvaluator3_5`, `PrintVisitor`, `PrintVisitor.NullPrintVisitor`, `StandardEvaluator`, `UncheckedEvaluator`

public interface ParserVisitor
Classes which wish to use the visitor pattern should use this interface. To use the visitor pattern a class should call `Node.jjtAccept(ParserVisitor, Object)` which will redirect to one of the methods below. To traverse the whole tree the `visit(ASTFunNode, Object)` and `visit(ASTFunNode, Object)` should also call jjtAccept on each of their children.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `visit(ASTConstant node, Object data)`
  `Object`
  `visit(ASTFunNode node, Object data)`
  `Object`
  `visit(ASTOpNode node, Object data)`
  `Object`
  `visit(ASTVarNode node, Object data)`

- ## Method Details

  - ### visit

    Object visit(ASTConstant node, Object data) throws JepException
    Throws:
      `JepException`

  - ### visit

    Object visit(ASTFunNode node, Object data) throws JepException
    Throws:
      `JepException`

  - ### visit

    Object visit(ASTVarNode node, Object data) throws JepException
    Throws:
      `JepException`

  - ### visit

    Object visit(ASTOpNode node, Object data) throws JepException
    Throws:
      `JepException`