X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotationRew.mli;h=2d3b09afb1dcc58384ab13c77b4ee92513115e3b;hb=656cb59b98db21ef50afef7677ae03282bd8aad1;hp=22b4f64e8fd827a4ecaf48ffed49600f0f171117;hpb=2817260358878e72fa359c6d2431b4c7c358a841;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationRew.mli b/helm/ocaml/cic_notation/cicNotationRew.mli index 22b4f64e8..2d3b09afb 100644 --- a/helm/ocaml/cic_notation/cicNotationRew.mli +++ b/helm/ocaml/cic_notation/cicNotationRew.mli @@ -28,20 +28,20 @@ val ast_of_acic: (Cic.id, CicNotationPt.sort_kind) Hashtbl.t -> (* id -> sort *) Cic.annterm -> (* acic *) CicNotationPt.term (* ast *) - * (Cic.id, string) Hashtbl.t (* id -> uri *) + * (Cic.id, UriManager.uri) Hashtbl.t (* id -> uri *) (** level 2 -> level 1 *) val pp_ast: CicNotationPt.term -> CicNotationPt.term -(** level 1 -> level 0: see CicNotationPres.render *) + (** for level 1 -> level 0: see CicNotationPres.render *) type interpretation_id type pretty_printer_id val add_interpretation: - string -> (* id / description *) + string -> (* id / description *) string * CicNotationPt.argument_pattern list -> (* symbol, level 2 pattern *) - CicNotationPt.cic_appl_pattern -> (* level 3 pattern *) + CicNotationPt.cic_appl_pattern -> (* level 3 pattern *) interpretation_id (** @raise Interpretation_not_found *) @@ -53,8 +53,8 @@ val lookup_interpretations: val add_pretty_printer: precedence:int -> associativity:Gramext.g_assoc -> - CicNotationPt.term -> (* level 2 pattern *) - CicNotationPt.term -> (* level 1 pattern *) + CicNotationPt.term -> (* level 2 pattern *) + CicNotationPt.term -> (* level 1 pattern *) pretty_printer_id exception Interpretation_not_found