]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/components/ng_disambiguation/grafiteDisambiguate.mli
Matitaweb:
[helm.git] / matitaB / components / ng_disambiguation / grafiteDisambiguate.mli
index c9735dbf9d576c295ca208a9b1ee137cd0d50a39..5a9b314c691d827aef7609c9bed3f22cef9099dc 100644 (file)
@@ -43,7 +43,19 @@ class virtual status :
   method set_disambiguate_status: #g_status -> 'self
  end
 
-(* val eval_with_new_aliases:
+(* reports disambiguation errors *)
+exception Error of 
+  (* location of a choice point *)
+  (Stdpp.location * 
+    (* one possible choice (or no valid choice) *)
+    (GrafiteAst.alias_spec option *
+      (* list of asts together with the failing location and error msg *)  
+      ((Stdpp.location * GrafiteAst.alias_spec) list * 
+        Stdpp.location * string) list) 
+      list) 
+  list
+
+  (* val eval_with_new_aliases:
  #status as 'status -> ('status -> 'a) ->
   ((Stdpp.location * DisambiguateTypes.domain_item) * GrafiteAst.alias_spec) list * 'a
 *)