mirror of
https://github.com/Z3Prover/z3
synced 2025-04-05 17:14:07 +00:00
fix build
This commit is contained in:
parent
b4ad747e0b
commit
ce09c2ea6d
|
@ -2262,13 +2262,13 @@ class JavaExample
|
|||
public void stringExample() {
|
||||
System.out.println("String example");
|
||||
Context ctx = new Context();
|
||||
var a = ctx.mkToRe(ctx.mkString("abcd"));
|
||||
var b = ctx.mkFullRe(ctx.mkReSort(ctx.mkStringSort()));
|
||||
Expr a = ctx.mkToRe(ctx.mkString("abcd"));
|
||||
Expr b = ctx.mkFullRe(ctx.mkReSort(ctx.mkStringSort()));
|
||||
System.out.println(a);
|
||||
System.out.println(b);
|
||||
System.out.println(a.getSort());
|
||||
System.out.println(b.getSort());
|
||||
var c = ctx.mkConcat(ctx.mkToRe(ctx.mkString("abc")),
|
||||
Expr c = ctx.mkConcat(ctx.mkToRe(ctx.mkString("abc")),
|
||||
ctx.mkFullRe(ctx.mkReSort(ctx.mkStringSort())),
|
||||
ctx.mkEmptyRe(ctx.mkReSort(ctx.mkStringSort())),
|
||||
ctx.mkAllcharRe(ctx.mkReSort(ctx.mkStringSort())),
|
||||
|
|
Loading…
Reference in a new issue