18 package com.microsoft.z3;
32 return Native.getDatatypeSortNumConstructors(getContext().nCtx(),
46 for (
int i = 0; i < n; i++)
48 getContext().nCtx(), getNativeObject(), i));
62 for (
int i = 0; i < n; i++)
64 getContext().nCtx(), getNativeObject(), i));
79 for (
int i = 0; i < n; i++)
83 getNativeObject(), i));
84 int ds = fd.getDomainSize();
86 for (
int j = 0; j < ds; j++)
88 Native.getDatatypeSortConstructorAccessor(getContext()
89 .nCtx(), getNativeObject(), i, j));
100 DatatypeSort(Context ctx, Symbol name, Constructor[] constructors)
103 super(ctx, Native.mkDatatype(ctx.nCtx(), name.getNativeObject(),
104 (
int) constructors.length, arrayToNative(constructors)));
FuncDecl[] getRecognizers()
static long getDatatypeSortRecognizer(long a0, long a1, int a2)
FuncDecl[] getConstructors()
FuncDecl[][] getAccessors()
static long getDatatypeSortConstructor(long a0, long a1, int a2)