X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fgrafite_engine%2FgrafiteTypes.ml;h=e3086b2d7b18ff9457483f30965dff30ccaa7a9c;hb=db7ecce6c398a42f14557067bf18b61cf75da80e;hp=d36998181c887df94a11553341768bc219e04814;hpb=aab0401db0bedd941da96a32acd600af3fbe42e7;p=helm.git diff --git a/matita/components/grafite_engine/grafiteTypes.ml b/matita/components/grafite_engine/grafiteTypes.ml index d36998181..e3086b2d7 100644 --- a/matita/components/grafite_engine/grafiteTypes.ml +++ b/matita/components/grafite_engine/grafiteTypes.ml @@ -31,7 +31,7 @@ exception Command_error of string let command_error msg = raise (Command_error msg) -class status = fun (b : string) -> +class virtual status = fun (b : string) -> let fake_obj = NUri.uri_of_string "cic:/matita/dummy.decl",0,[],[], NCic.Constant([],"",None,NCic.Implicit `Closed,(`Provided,`Theorem,`Regular)) @@ -40,6 +40,9 @@ class status = fun (b : string) -> (* Warning: #stack and #obj are meaningful iff #ng_mode is `ProofMode *) inherit ([Continuationals.Stack.t] NTacStatus.status fake_obj (Continuationals.Stack.empty)) inherit NCicLibrary.dumpable_status + inherit NCicLibrary.status + inherit GrafiteParser.status + inherit TermContentPres.status val baseuri = b val ng_mode = (`CommandMode : [`CommandMode | `ProofMode]) method baseuri = baseuri @@ -48,5 +51,4 @@ class status = fun (b : string) -> method set_ng_mode v = {< ng_mode = v >} end -module Serializer = - NCicLibrary.Serializer(struct type dumpable_status = status end) +module Serializer = NCicLibrary.Serializer(struct type dumpable_s = status end)