]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite_parser/grafiteDisambiguator.mli
Move to OCaml 3.10. Requires debian packages from unstable (soon in testing).
[helm.git] / helm / software / components / grafite_parser / grafiteDisambiguator.mli
index b7c85f6af68eed6153ba8466d751739a36933633..88940c2c3818bd40cd30c5e707295ceae1e79bfb 100644 (file)
 exception Ambiguous_input
 (* the integer is an offset to be added to each location *)
 exception DisambiguationError of
- int * (Token.flocation option * string Lazy.t) list list
+ int *
+ ((Stdpp.location list * string * string) list *
+  (DisambiguateTypes.domain_item * DisambiguateTypes.codomain_item) list *
+  Stdpp.location option * string Lazy.t * bool) list list
+  (** parameters are: option name, error message *)
+
+(** initially false; for debugging only (???) *)
+val only_one_pass: bool ref
 
 type choose_uris_callback = id:string -> UriManager.uri list -> UriManager.uri list
-type choose_interp_callback = (string * string) list list -> int list
+type choose_interp_callback = 
+  string -> int -> (Stdpp.location list * string * string) list list -> 
+    int list
 
 val set_choose_uris_callback:   choose_uris_callback -> unit
 val set_choose_interp_callback: choose_interp_callback -> unit