X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FmQueryGenerator.mli;h=21202a2e99d5ff891276261324cdf6e34921bd41;hb=14c77c97790562bd07405a290e3517c2532b7d12;hp=0282c3c8dacf71dac985810d17d4d5eb29145dd9;hpb=5017b0b1d58b9431129055b82a40f73c979bf3ae;p=helm.git diff --git a/helm/gTopLevel/mQueryGenerator.mli b/helm/gTopLevel/mQueryGenerator.mli index 0282c3c8d..21202a2e9 100644 --- a/helm/gTopLevel/mQueryGenerator.mli +++ b/helm/gTopLevel/mQueryGenerator.mli @@ -33,15 +33,22 @@ (* *) (******************************************************************************) -val levels : Cic.metasenv -> Cic.context -> Cic.term -> int -> string - (* level assignment testing function *) +exception Discard -val init : unit -> unit (* INIT database function *) +type levels_spec = (string * bool * int) list -val close : unit -> unit (* CLOSE database function *) +val levels_of_term : Cic.metasenv -> Cic.context -> Cic.term -> levels_spec -val locate : string -> MathQL.mqresult (* LOCATE query building function *) -val locate_html : string -> string (* LOCATE query building function *) +val string_of_levels : levels_spec -> string -> string -val backward : Cic.metasenv -> Cic.context -> Cic.term -> int -> string - (* BACKWARD query building function *) +val set_log_file : string -> unit + +val set_confirm_query : (MathQL.query -> bool) -> unit + +val execute_query : MathQL.query -> MathQL.result + +val locate : string -> MathQL.result + +val backward : Cic.metasenv -> Cic.context -> Cic.term -> int -> MathQL.result + +val get_query_info : unit -> string list