]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/applyTransformation.ml
- further simplifications (??) of the status dependencies
[helm.git] / matita / matita / applyTransformation.ml
index 8e09d9db4809c241e7a969357667816fc719ce1e..236e59def34becbb6654780f2d3f7d42779fbc18 100644 (file)
 (* $Id$ *)
 
 class status =
-  object
-    inherit NTermCicContent.status
-    inherit TermContentPres.status
-  end
-
+ object
+  inherit Interpretations.status
+  inherit TermContentPres.status
+ end
 
 let mpres_document pres_box =
   Xml.add_xml_declaration (CicNotationPres.print_box pres_box)
 
 let ntxt_of_cic_sequent ~map_unicode_to_tex size status metasenv subst sequent =
   let content_sequent,ids_to_refs =
-   NTermCicContent.nmap_sequent status ~metasenv ~subst sequent in 
+   Interpretations.nmap_sequent status ~metasenv ~subst sequent in 
   let pres_sequent = 
    Sequent2pres.nsequent2pres status ids_to_refs subst content_sequent in
   let pres_sequent = CicNotationPres.mpres_of_box pres_sequent in
@@ -55,7 +54,7 @@ let ntxt_of_cic_sequent ~map_unicode_to_tex size status metasenv subst sequent =
     (function x::_ -> x | _ -> assert false) size pres_sequent
 
 let ntxt_of_cic_object ~map_unicode_to_tex size status obj =
- let cobj,ids_to_nrefs = NTermCicContent.nmap_obj status obj in 
+ let cobj,ids_to_nrefs = Interpretations.nmap_obj status obj in 
  let pres_sequent = Content2pres.ncontent2pres status ~ids_to_nrefs cobj in
  let pres_sequent = CicNotationPres.mpres_of_box pres_sequent in
   BoxPp.render_to_string ~map_unicode_to_tex