java.lang.Object
com.aquima.interactions.expressions.parser.ParseNodeBase
com.aquima.interactions.expressions.r7.parser.nodes.InverseNode
All Implemented Interfaces:
IParseNode

public class InverseNode extends ParseNodeBase
The InverseExpression class will wrap an expression, and invert its's sign.
Since:
5.0
Author:
O. Kerpershoek, F. van der Meer
  • Constructor Details

    • InverseNode

      public InverseNode(IParseNode expression)
      Constructs an Inverse statement for the specified expression.
      Parameters:
      expression - The expression that should be inverted.
  • Method Details

    • getExpression

      public IParseNode getExpression()
      This method returns the expression whose sign is inverted by this statement.
      Returns:
      The expression whose sign is inverted by this statement.
    • toString

      public String toString()
      Overrides:
      toString in class Object