Package com.microsoft.z3
Class DatatypeSort<R>
java.lang.Object
com.microsoft.z3.Z3Object
com.microsoft.z3.AST
com.microsoft.z3.Sort
com.microsoft.z3.DatatypeSort<R>
- All Implemented Interfaces:
Comparable<AST>
Datatype sorts.
-
Method Summary
Modifier and TypeMethodDescriptionFuncDecl<?>[][]The constructor accessors.FuncDecl<DatatypeSort<R>>[]The constructors.intThe number of constructors of the datatype sort.The recognizers.Methods inherited from class com.microsoft.z3.Sort
equals, getId, getName, getSortKind, hashCode, toString, translateMethods inherited from class com.microsoft.z3.AST
compareTo, getASTKind, getSExpr, isApp, isExpr, isFuncDecl, isQuantifier, isSort, isVarMethods inherited from class com.microsoft.z3.Z3Object
arrayLength, arrayToNative
-
Method Details
-
getNumConstructors
public int getNumConstructors()The number of constructors of the datatype sort.- Returns:
- an int
- Throws:
Z3Exception- on error
-
getConstructors
The constructors.- Throws:
Z3ExceptionZ3Exception- on error
-
getRecognizers
The recognizers.- Throws:
Z3ExceptionZ3Exception- on error
-
getAccessors
The constructor accessors.- Throws:
Z3ExceptionZ3Exception- on error
-