]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicEnvironment.mli
j off by one in error message
[helm.git] / helm / software / components / ng_kernel / nCicEnvironment.mli
index 76519843950daf401345169620af4e157b64dc83..9c0a70fc0472055aeef969ed2611c9218dfa5c3f 100644 (file)
 (* NG: minimal wrapper on the old cicEnvironment, should provide only the
  * functions strictly necessary to the typechecking algorithm *)
 
-val get_checked_obj : NUri.uri -> NCic.obj
+val get_checked_obj: NUri.uri -> NCic.obj
+val get_obj: NUri.uri -> bool * NCic.obj
+val add_obj: NCic.obj -> unit
+
+val get_checked_def:
+  NReference.reference -> 
+    NCic.relevance * string * NCic.term * NCic.term * NCic.c_attr * int
+
+(* the last integer is the index of the inductive type in the reference *)
+val get_checked_indtys:
+  NReference.reference -> 
+    bool * int * NCic.inductiveType list * NCic.i_attr * int
+
+val get_checked_fix:
+  NReference.reference -> 
+   NCic.relevance * string * NCic.term * NCic.term * NCic.f_attr * int
+
+val get_checked_cofix:
+  NReference.reference -> 
+   NCic.relevance * string * NCic.term * NCic.term * NCic.f_attr * int
+
+val get_indty_leftno: NReference.reference -> int
+
+val invalidate: unit -> unit
 
 (* EOF *)