Class EnumSort

  • All Implemented Interfaces:
    Comparable<AST>

    public class EnumSort
    extends Sort
    Enumeration sorts.
    • Method Detail

      • getConstDecls

        public FuncDecl[] getConstDecls()
        The function declarations of the constants in the enumeration.
        Throws:
        Z3Exception - on error
      • getConstDecl

        public FuncDecl getConstDecl​(int inx)
        Retrieves the inx'th constant declaration in the enumeration.
        Throws:
        Z3Exception - on error
      • getConsts

        public Expr[] getConsts()
        The constants in the enumeration.
        Returns:
        an Expr[]
        Throws:
        Z3Exception - on error
      • getConst

        public Expr getConst​(int inx)
        Retrieves the inx'th constant in the enumeration.
        Returns:
        an Expr
        Throws:
        Z3Exception - on error
      • getTesterDecls

        public FuncDecl[] getTesterDecls()
        The test predicates for the constants in the enumeration.
        Throws:
        Z3Exception - on error
      • getTesterDecl

        public FuncDecl getTesterDecl​(int inx)
        Retrieves the inx'th tester/recognizer declaration in the enumeration.
        Throws:
        Z3Exception - on error