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