(Context ctx)
| 1498 | |
| 1499 | // / <remarks></remarks> |
| 1500 | public void parserExample5(Context ctx) |
| 1501 | { |
| 1502 | System.out.println("ParserExample5"); |
| 1503 | |
| 1504 | try |
| 1505 | { |
| 1506 | ctx.parseSMTLIB2String( |
| 1507 | /* |
| 1508 | * the following string has a parsing error: missing |
| 1509 | * parenthesis |
| 1510 | */ |
| 1511 | "(declare-const x Int (declare-const y Int)) (assert (> x y))", |
| 1512 | null, null, null, null); |
| 1513 | } catch (Z3Exception e) |
| 1514 | { |
| 1515 | System.out.println("Z3 error: " + e); |
| 1516 | } |
| 1517 | } |
| 1518 | |
| 1519 | // / Create an ite-Expr (if-then-else Exprs). |
| 1520 |
no test coverage detected