X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2FapplyTransformation.mli;h=d5886abd8a7e8b82aff0fae35b121264238560d4;hb=d9a1ff8259a7882caa0ffd27282838c00a34cab5;hp=dbd0343ff600d4bdd3e09e62963c340e5adcacdb;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/matita/applyTransformation.mli b/matita/matita/applyTransformation.mli index dbd0343ff..d5886abd8 100644 --- a/matita/matita/applyTransformation.mli +++ b/matita/matita/applyTransformation.mli @@ -33,65 +33,21 @@ (* *) (***************************************************************************) -val mml_of_cic_sequent: - Cic.metasenv -> (* metasenv *) - Cic.conjecture -> (* sequent *) - Gdome.document * (* Math ML *) - Cic.conjecture * (* unshared sequent *) - (Cic.annconjecture * (* annsequent *) - ((Cic.id, Cic.term) Hashtbl.t * (* id -> term *) - (Cic.id, Cic.id option) Hashtbl.t * (* id -> father id *) - (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) - (Cic.id, Cic2acic.sort_kind) Hashtbl.t)) (* ids_to_inner_sorts *) - -val nmml_of_cic_sequent: - #NCicCoercion.status -> - NCic.metasenv -> NCic.substitution -> (* metasenv, substitution *) +val use_high_level_pretty_printer: bool ref + +class status : + object + inherit NCic.cstatus + inherit Interpretations.status + inherit TermContentPres.status + end + +val ntxt_of_cic_sequent: + metasenv:NCic.metasenv -> subst:NCic.substitution -> (* metasenv,substitution*) + map_unicode_to_tex:bool -> int -> #status -> int * NCic.conjecture -> (* sequent *) - Gdome.document (* Math ML *) - -val mml_of_cic_object: - Cic.obj -> (* object *) - Gdome.document * (* Math ML *) - (Cic.annobj * (* annobj *) - ((Cic.id, Cic.term) Hashtbl.t * (* id -> term *) - (Cic.id, Cic.id option) Hashtbl.t * (* id -> father id *) - (Cic.id, Cic.conjecture) Hashtbl.t * (* id -> conjecture *) - (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) - (Cic.id, Cic2acic.sort_kind) Hashtbl.t * (* ids_to_inner_sorts *) - (Cic.id, Cic2acic.anntypes) Hashtbl.t)) (* ids_to_inner_types *) - -val nmml_of_cic_object: #NCicCoercion.status -> NCic.obj -> Gdome.document - -val txt_of_cic_term: - map_unicode_to_tex:bool -> int -> Cic.metasenv -> Cic.context -> Cic.term -> - string -val txt_of_cic_sequent: - map_unicode_to_tex:bool -> int -> Cic.metasenv -> Cic.conjecture -> string -val txt_of_cic_sequent_conclusion: - map_unicode_to_tex:bool -> output_type:[`Pattern | `Term] -> int -> - Cic.metasenv -> Cic.conjecture -> string - -(* columns, params, object *) -val txt_of_cic_object: - map_unicode_to_tex:bool -> - ?skip_thm_and_qed:bool -> ?skip_initial_lambdas:int -> - int -> GrafiteAst.inline_param list -> Cic.obj -> - string - -(* params, uri or baseuri *) -val txt_of_inline_macro: - map_unicode_to_tex:bool -> GrafiteAst.inline_param list -> string -> - string - -val txt_of_macro: - map_unicode_to_tex:bool -> - Cic.metasenv -> - Cic.context -> - (Cic.term, Cic.lazy_term) GrafiteAst.macro -> string + (int * int * string) list * string (* hyperlinks, text *) -(* columns, rendering depth, context, term *) -val procedural_txt_of_cic_term: - map_unicode_to_tex:bool -> int -> GrafiteAst.inline_param list -> - Cic.context -> Cic.term -> - string +val ntxt_of_cic_object: + map_unicode_to_tex:bool -> int -> #status -> NCic.obj -> + (int * int * string) list * string (* hyperlinks, text *)