public class EnumSort<R> extends Sort
| Modifier and Type | Method and Description |
|---|---|
Expr<EnumSort<R>> |
getConst(int inx)
Retrieves the inx'th constant in the enumeration.
|
FuncDecl<EnumSort<R>> |
getConstDecl(int inx)
Retrieves the inx'th constant declaration in the enumeration.
|
FuncDecl<EnumSort<R>>[] |
getConstDecls()
The function declarations of the constants in the enumeration.
|
Expr<EnumSort<R>>[] |
getConsts()
The constants in the enumeration.
|
FuncDecl<BoolSort> |
getTesterDecl(int inx)
Retrieves the inx'th tester/recognizer declaration in the enumeration.
|
FuncDecl<BoolSort>[] |
getTesterDecls()
The test predicates for the constants in the enumeration.
|
equals, getId, getName, getSortKind, hashCode, toString, translatecompareTo, getASTKind, getSExpr, isApp, isExpr, isFuncDecl, isQuantifier, isSort, isVararrayLength, arrayToNativepublic FuncDecl<EnumSort<R>>[] getConstDecls()
Z3Exception - on errorpublic FuncDecl<EnumSort<R>> getConstDecl(int inx)
Z3Exception - on errorpublic Expr<EnumSort<R>>[] getConsts()
Z3Exception - on errorpublic Expr<EnumSort<R>> getConst(int inx)
Z3Exception - on errorpublic FuncDecl<BoolSort>[] getTesterDecls()
Z3Exception - on errorpublic FuncDecl<BoolSort> getTesterDecl(int inx)
Z3Exception - on error