]> matita.cs.unibo.it Git - helm.git/blobdiff - components/grafite_parser/grafiteDisambiguator.mli
now destruct takes an optional list of term rather than a sigle optional term
[helm.git] / components / grafite_parser / grafiteDisambiguator.mli
index 52add3974c8304f567f774b6a64c23834e6a3a99..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 -> int -> (Token.flocation list * string * string) list list -> 
+  string -> int -> (Stdpp.location list * string * string) list list -> 
     int list
 
 val set_choose_uris_callback:   choose_uris_callback -> unit