Class 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 Detail

      • InverseNode

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

      • 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.