Interface ZestExpressionElement

    • Method Detail

      • isLeaf

        boolean isLeaf()
        true if it is a Simple Conditional false otherwise.
        Returns:
        true if it is a Simple Conditional false otherwise
      • isTrue

        boolean isTrue​(ZestRuntime runtime)
        the boolean value result of the expression without inverse flag.
        Parameters:
        runtime - the runtime
        Returns:
        the boolean value of the expression without inverse flag
      • evaluate

        boolean evaluate​(ZestRuntime runtime)
        the boolean value of the whole Conditional Element.
        Parameters:
        runtime - the runtime
        Returns:
        the boolean value of the whole Conditional Element
      • isInverse

        boolean isInverse()
        return true if the Conditional Element has a NOT clause.
        Returns:
        true if the Conditional Element has a NOT clause
      • setInverse

        void setInverse​(boolean not)
        sets if the Conditional Element has a NOT clause.
        Parameters:
        not - true if this Conditional Element has to contain the NOT clause