Datatype sorts.
Definition at line 23 of file DatatypeSort.java.
◆ getAccessors()
The constructor accessors.
- Exceptions
-
| Z3Exception | |
| Z3Exception | on error |
Definition at line 87 of file DatatypeSort.java.
88 {
89
92 for (int i = 0; i < n; i++)
93 {
95 Native.getDatatypeSortConstructor(getContext().nCtx(),
96 getNativeObject(), i));
99 for (int j = 0; j < ds; j++)
100 tmp[j] = new FuncDecl<>(getContext(),
101 Native.getDatatypeSortConstructorAccessor(getContext()
102 .nCtx(), getNativeObject(), i, j));
103 res[i] = tmp;
104 }
105 return res;
106 }
◆ getConstructors()
The constructors.
- Exceptions
-
| Z3Exception | |
| Z3Exception | on error |
Definition at line 54 of file DatatypeSort.java.
55 {
57 FuncDecl<DatatypeSort<R>>[] res = new FuncDecl[n];
58 for (int i = 0; i < n; i++)
59 res[i] = new FuncDecl<>(getContext(), Native.getDatatypeSortConstructor(
60 getContext().nCtx(), getNativeObject(), i));
61 return res;
62 }
◆ getNumConstructors()
| int getNumConstructors |
( |
| ) |
|
|
inline |
◆ getRecognizers()
The recognizers.
- Exceptions
-
| Z3Exception | |
| Z3Exception | on error |
Definition at line 71 of file DatatypeSort.java.
72 {
74 FuncDecl<BoolSort>[] res = new FuncDecl[n];
75 for (int i = 0; i < n; i++)
76 res[i] = new FuncDecl<>(getContext(), Native.getDatatypeSortRecognizer(
77 getContext().nCtx(), getNativeObject(), i));
78 return res;
79 }
◆ isRecursive()
Indicates whether the datatype sort is recursive.
- Exceptions
-
- Returns
- a boolean
Definition at line 41 of file DatatypeSort.java.
42 {
43 return Native.isRecursiveDatatypeSort(getContext().nCtx(),
44 getNativeObject());
45 }