]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/content_pres/cicNotationParser.mli
include statement better implemented:
[helm.git] / helm / software / components / content_pres / cicNotationParser.mli
index 161c9167c62f8b4cf1b0e96138f0922cc75be994..6c9b3f5ecfa46ae8be23a55b6fad5ecc0cdb13dd 100644 (file)
@@ -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
 
@@ -72,3 +75,5 @@ val parse_term: Ulexing.lexbuf -> CicNotationPt.term
   (** print "level2_pattern" entry on stdout, flushing afterwards *)
 val print_l2_pattern: unit -> unit
 
+val push: unit -> unit
+val pop: unit -> unit