]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_engine/grafiteTypes.mli
Implementation of Ocaml extraction (largely ported from Coq).
[helm.git] / matita / components / grafite_engine / grafiteTypes.mli
index c65c3afb67514962f5e5da00420bf28ecb65e7b9..95e994350f95bc654f7719a0a67f90ad9ad2a3ec 100644 (file)
@@ -31,18 +31,21 @@ exception Command_error of string
 
 val command_error: string -> 'a   (** @raise Command_error *)
 
-class status :
+class virtual status :
  string ->
   object ('self)
-   method moo_content_rev: GrafiteMarshal.moo
-   method set_moo_content_rev: GrafiteMarshal.moo -> 'self
+   (* Warning: #stack and #obj are meaningful iff #ng_mode is `ProofMode *)
+   inherit NTacStatus.tac_status
+   inherit NCicLibrary.dumpable_status
+   inherit NCicLibrary.status
+   inherit NCicExtraction.status
+   inherit OcamlExtractionTable.status
+   inherit GrafiteParser.status
+   inherit TermContentPres.status
    method baseuri: string
    method set_baseuri: string -> 'self
    method ng_mode: [`ProofMode | `CommandMode]
    method set_ng_mode: [`ProofMode | `CommandMode] -> 'self
-   (* Warning: #stack and #obj are meaningful iff #ng_mode is `ProofMode *)
-   inherit NTacStatus.tac_status
   end
 
-  (** list is not reversed, head command will be the first emitted *)
-val add_moo_content: GrafiteMarshal.ast_command list -> status -> status
+module Serializer: NCicLibrary.SerializerType with type dumpable_status = status