]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/disambiguate.mli
generate HTML templates using XSLT starting from a bunch of .src files
[helm.git] / helm / ocaml / cic_disambiguation / disambiguate.mli
index cbc7a54ac9a423835556696e29303f075758884a..b0fe0fcd3e7dfa11f4a874d998971b198f2f14d2 100644 (file)
 
 open DisambiguateTypes
 
-(** {2 Choice registration interface} *)
-
-  (** to be raised when a choice is invalid due to some given parameter (e.g.
-   * wrong number of Cic.term arguments received) *)
-exception Invalid_choice
-
-  (** register a new symbol choice *)
-val add_symbol_choice: string -> codomain_item -> unit
-
-  (** register a new number choice *)
-val add_num_choice: codomain_item -> unit
-
 (** {2 Disambiguation interface} *)
 
 exception NoWellTypedInterpretation
@@ -44,13 +32,15 @@ exception NoWellTypedInterpretation
 module Make (C : Callbacks) :
   sig
     val disambiguate_term :
-      MQIConn.handle ->
+      dbd:Mysql.dbd ->
       Cic.context ->
       Cic.metasenv ->
-      CicTextualParser2Ast.term ->
+      CicAst.term ->
+      ?initial_ugraph:CicUniv.universe_graph -> 
       aliases:environment ->  (* previous interpretation status *)
-        environment *                   (* new interpretation status *)
-        Cic.metasenv *                  (* new metasenv *)
-        Cic.term                        (* disambiguated term *)
+      (environment *                   (* new interpretation status *)
+       Cic.metasenv *                  (* new metasenv *)
+       Cic.term*
+       CicUniv.universe_graph) list    (* disambiguated term *)
   end