]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/content_pres/termContentPres.mli
Use of standard OCaml syntax
[helm.git] / matita / components / content_pres / termContentPres.mli
index 41018d39000dfed3cfca57209cb49ee602435529..06dfa70e09c9dbe2ca38f126de21e4bb5dfb57e4 100644 (file)
@@ -32,20 +32,19 @@ class type g_status =
     method content_pres_db: db
   end
 
-class status :
+class virtual status :
   object ('self)
+    inherit NCic.status
     method content_pres_db: db
     method set_content_pres_db: db -> 'self
     method set_content_pres_status: #g_status -> 'self
   end
 
-type pretty_printer_id
-
 val add_pretty_printer:
#status as 'status ->
(#status as 'status) ->
   NotationPt.term ->             (* level 2 pattern *)
   CicNotationParser.checked_l1_pattern ->
-   'status * pretty_printer_id
+   'status
 
   (** {2 content -> pres} *)
 
@@ -55,5 +54,4 @@ val pp_ast: #status -> NotationPt.term -> NotationPt.term
 
   (** fills a term pattern instantiating variable magics *)
 val instantiate_level2:
-  NotationEnv.t -> NotationPt.term ->
-    NotationPt.term
+ #NCic.status -> NotationEnv.t -> NotationPt.term -> NotationPt.term