X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcontent_pres%2FcicNotationParser.mli;h=a348d9088bc1861816f03e0bd3ca17084efb2feb;hb=7c9b20db66af78579a5312e4a6a5a42471d6312b;hp=161c9167c62f8b4cf1b0e96138f0922cc75be994;hpb=8c4659819a1c1f2e450d9a588ecca37d95ae48e9;p=helm.git diff --git a/helm/software/components/content_pres/cicNotationParser.mli b/helm/software/components/content_pres/cicNotationParser.mli index 161c9167c..a348d9088 100644 --- a/helm/software/components/content_pres/cicNotationParser.mli +++ b/helm/software/components/content_pres/cicNotationParser.mli @@ -30,8 +30,9 @@ type checked_l1_pattern = private CL1P of CicNotationPt.term * int (** {2 Parsing functions} *) - (** concrete syntax pattern: notation level 1 *) -val parse_level1_pattern: Ulexing.lexbuf -> CicNotationPt.term + (** concrete syntax pattern: notation level 1, the + * integer is the precedence *) +val parse_level1_pattern: int -> Ulexing.lexbuf -> CicNotationPt.term (** AST pattern: notation level 2 *) val parse_level2_ast: Ulexing.lexbuf -> CicNotationPt.term @@ -41,6 +42,8 @@ val parse_level2_meta: Ulexing.lexbuf -> CicNotationPt.term type rule_id +val compare_rule_id : rule_id -> rule_id -> int + val check_l1_pattern: (* level1_pattern *) CicNotationPt.term -> int -> Gramext.g_assoc -> checked_l1_pattern