mlw_exec.mli 1.12 KB
Newer Older
1 2 3
(********************************************************************)
(*                                                                  *)
(*  The Why3 Verification Platform   /   The Why3 Development Team  *)
Andrei Paskevich's avatar
Andrei Paskevich committed
4
(*  Copyright 2010-2016   --   INRIA - CNRS - Paris-Sud University  *)
5 6 7 8
(*                                                                  *)
(*  This software is distributed under the terms of the GNU Lesser  *)
(*  General Public License version 2.1, with the special exception  *)
(*  on linking described in file LICENSE.                           *)
9
(*                                                                  *)
10 11 12 13 14 15 16 17 18 19 20 21
(********************************************************************)

(** Decide whether an expression/symbol/declaration is executable *)

type t
  (** The context in which we make such a decision *)

val create: Mlw_driver.driver -> Decl.known_map -> Mlw_decl.known_map -> t

val is_exec_term: t -> Term.term -> bool
val is_exec_lsymbol: t -> Term.lsymbol -> bool
val is_exec_decl: t -> Decl.decl -> bool
22 23 24 25

val is_exec_expr: t -> Mlw_expr.expr -> bool
val is_exec_pdecl: t -> Mlw_decl.pdecl -> bool