X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcontent_pres%2FcicNotationParser.mli;h=161c9167c62f8b4cf1b0e96138f0922cc75be994;hb=7af476a04e008ec5a7d1eaf096a4e6ce62aef6cf;hp=134a42c3caf3236c20778c6ba62d64f79580610b;hpb=4609a07e2fe4343d94832fcaf0936223f83ba71c;p=helm.git diff --git a/helm/software/components/content_pres/cicNotationParser.mli b/helm/software/components/content_pres/cicNotationParser.mli index 134a42c3c..161c9167c 100644 --- a/helm/software/components/content_pres/cicNotationParser.mli +++ b/helm/software/components/content_pres/cicNotationParser.mli @@ -26,6 +26,8 @@ exception Parse_error of string exception Level_not_found of int +type checked_l1_pattern = private CL1P of CicNotationPt.term * int + (** {2 Parsing functions} *) (** concrete syntax pattern: notation level 1 *) @@ -39,10 +41,11 @@ val parse_level2_meta: Ulexing.lexbuf -> CicNotationPt.term type rule_id +val check_l1_pattern: (* level1_pattern *) + CicNotationPt.term -> int -> Gramext.g_assoc -> checked_l1_pattern + val extend: - CicNotationPt.term -> (* level 1 pattern *) - precedence:int -> - associativity:Gramext.g_assoc -> + checked_l1_pattern -> (CicNotationEnv.t -> CicNotationPt.location -> CicNotationPt.term) -> rule_id