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

public class NotNode extends ParseNodeBase
The NotExpression class will wrap an expression, and negate it's result.
Since:
5.0
Author:
O. Kerpershoek, F. van der Meer
  • Constructor Details

    • NotNode

      public NotNode(IParseNode expression)
      Constructs a Negation expression for the expression passed.
      Parameters:
      expression - The expression whose result should be negated.
  • Method Details

    • getExpression

      public IParseNode getExpression()
      This method returns the expression that is negated by this NOT statement.
      Returns:
      The expression whose result is negated by this NOT statement.
    • toString

      public String toString()
      Overrides:
      toString in class Object