Class ExprR7PrintVisitor

java.lang.Object
com.aquima.interactions.expressions.r7.printer.ExprR7PrintVisitor
All Implemented Interfaces:
ISemanticNodeVisitor

public class ExprR7PrintVisitor extends Object implements ISemanticNodeVisitor
Visitor implementation that prints an expression in a release 7 format.
Since:
6.4
Author:
O. Kerpershoek
  • Constructor Details

    • ExprR7PrintVisitor

      public ExprR7PrintVisitor()
  • Method Details

    • accept

      public void accept(AllVariable node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: AllVariable.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Arithmetic node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Arithmetic.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Condition node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Condition.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Constant node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Constant.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Conversion node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Conversion.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(DimensionChange node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: DimensionChange.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(ErrorNode node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: ErrorNode.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(ExpressionList node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: ExpressionList.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(FieldVariable node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: FieldVariable.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(FunctionCall node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: FunctionCall.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Inversion node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Inversion.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(ListArithmetic node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: ListArithmetic.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(ListCondition node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: ListCondition.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(LogicalConnective node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: LogicalConnective.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(NamedVariable node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: NamedVariable.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Not node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Not.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Predicate node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Predicate.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Select node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Select.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(TemplateCall node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: TemplateCall.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Unknown node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Unknown.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Variable node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: Variable.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(LocalVariable node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: LocalVariable.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(Root node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: RootExpression.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(InstanceOf node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: InstanceOf.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • accept

      public void accept(TypeOf node)
      Description copied from interface: ISemanticNodeVisitor
      This method is invoked for nodes of the type: TypeOf.
      Specified by:
      accept in interface ISemanticNodeVisitor
      Parameters:
      node - The node on which the visit method was invoked.
    • getExpression

      protected String getExpression()