Create an expression representing an if-then-else: ite(t1, t2, t3). @param t1 An expression with Boolean sort @param t2 An expression @param t3 An expression with the same sort as t2
(Expr<BoolSort> t1, Expr<? extends R> t2, Expr<? extends R> t3)
| 913 | * @param t3 An expression with the same sort as {@code t2} |
| 914 | **/ |
| 915 | public final <R extends Sort> Expr<R> mkITE(Expr<BoolSort> t1, Expr<? extends R> t2, Expr<? extends R> t3) |
| 916 | { |
| 917 | checkContextMatch(t1); |
| 918 | checkContextMatch(t2); |
| 919 | checkContextMatch(t3); |
| 920 | return (Expr<R>) Expr.create(this, Native.mkIte(nCtx(), t1.getNativeObject(), |
| 921 | t2.getNativeObject(), t3.getNativeObject())); |
| 922 | } |
| 923 | |
| 924 | /** |
| 925 | * Create an expression representing {@code t1 iff t2}. |
no test coverage detected