X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicEnvironment.mli;h=70a230ddf383eed8401fc3e2cb57d615d05b5d30;hb=0bfad3f438ba29135f2c18d1bf3cb0c8f462a205;hp=76519843950daf401345169620af4e157b64dc83;hpb=05e05dd130ec57395615de286ee50c6729d226ac;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicEnvironment.mli b/helm/software/components/ng_kernel/nCicEnvironment.mli index 765198439..70a230ddf 100644 --- a/helm/software/components/ng_kernel/nCicEnvironment.mli +++ b/helm/software/components/ng_kernel/nCicEnvironment.mli @@ -26,6 +26,27 @@ (* 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 (* EOF *)