X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotationParser.mli;h=6192bf05bbe984b2c55bf9130fe35c597f00b68a;hb=8caaccfeb66f6a507e5fb3b4b221a360eb5428c8;hp=1dd81ef9fa4a19298c74ae37c013fc49f1af5e75;hpb=2e41c32bf536719437749de627c7e034f5852f83;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationParser.mli b/helm/ocaml/cic_notation/cicNotationParser.mli index 1dd81ef9f..6192bf05b 100644 --- a/helm/ocaml/cic_notation/cicNotationParser.mli +++ b/helm/ocaml/cic_notation/cicNotationParser.mli @@ -37,9 +37,10 @@ val parse_ast_pattern: char Stream.t -> CicNotationPt.term (** interpretation: notation level 3 *) val parse_interpretation: char Stream.t -> CicNotationPt.cic_appl_pattern -(** {2 Grammar extension} *) + (** top level phrases *) +val parse_phrase: char Stream.t -> CicNotationPt.phrase -type env_type = (string * (CicNotationPt.value_type * CicNotationPt.value)) list +(** {2 Grammar extension} *) type rule_id @@ -47,7 +48,7 @@ val extend: CicNotationPt.term -> ?precedence:int -> ?associativity:Gramext.g_assoc -> - (env_type -> CicNotationPt.location -> CicNotationPt.term) -> + (CicNotationEnv.t -> CicNotationPt.location -> CicNotationPt.term) -> rule_id val delete: rule_id -> unit @@ -55,5 +56,5 @@ val delete: rule_id -> unit (** {2 Debugging} *) (** print "level2_pattern" entry on stdout, flushing afterwards *) -val print_level2_pattern: unit -> unit +val print_l2_pattern: unit -> unit