18 package com.microsoft.z3;
32 return Native.getDatatypeSortNumConstructors(getContext().nCtx(),
46 for (
int i = 0; i < n; i++)
47 res[i] =
new FuncDecl(getContext(), Native.getDatatypeSortConstructor(
48 getContext().nCtx(), getNativeObject(), i));
62 for (
int i = 0; i < n; i++)
63 res[i] =
new FuncDecl(getContext(), Native.getDatatypeSortRecognizer(
64 getContext().nCtx(), getNativeObject(), i));
79 for (
int i = 0; i < n; i++)
82 Native.getDatatypeSortConstructor(getContext().nCtx(),
83 getNativeObject(), i));
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 constructors.length, arrayToNative(constructors)));
FuncDecl [] getRecognizers()
FuncDecl [] getConstructors()
FuncDecl [][] getAccessors()