Package visitor


package visitor
  • Classes
    Class
    Description
    Counter is a visitor that counts the numbers, operations, and depth in an arithmetic expression.
    Evaluation is a concrete visitor that serves to compute and evaluate the results of arithmetic expressions.
    Printer is a Visitor that converts arithmetic expressions into Strings, using a specified notation (prefix, infix or postfix).
    Visitor design pattern