mirror of
https://github.com/Z3Prover/z3
synced 2025-09-02 08:10:43 +00:00
Added accessors to enumeration sorts. Thanks to codeplex user steimann for suggesting this.
(http://z3.codeplex.com/workitem/195) Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
b76d588c28
commit
1c77ad00c3
5 changed files with 87 additions and 4 deletions
|
@ -1091,8 +1091,20 @@ sig
|
|||
(** The function declarations of the constants in the enumeration. *)
|
||||
val get_const_decls : Sort.sort -> FuncDecl.func_decl list
|
||||
|
||||
(** Retrieves the inx'th constant declaration in the enumeration. *)
|
||||
val get_const_decl : Sort.sort -> int -> FuncDecl.func_decl
|
||||
|
||||
(** The constants in the enumeration. *)
|
||||
val get_consts : Sort.sort -> Expr.expr list
|
||||
|
||||
(** Retrieves the inx'th constant in the enumeration. *)
|
||||
val get_const : Sort.sort -> int -> Expr.expr
|
||||
|
||||
(** The test predicates for the constants in the enumeration. *)
|
||||
val get_tester_decls : Sort.sort -> FuncDecl.func_decl list
|
||||
|
||||
(** Retrieves the inx'th tester/recognizer declaration in the enumeration. *)
|
||||
val get_tester_decl : Sort.sort -> int -> FuncDecl.func_decl
|
||||
end
|
||||
|
||||
(** Functions to manipulate List expressions *)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue