]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/cicNotationParser.mli
added XmlAttrs attribute for specification of xml attributes directly
[helm.git] / helm / ocaml / cic_notation / cicNotationParser.mli
index 6192bf05bbe984b2c55bf9130fe35c597f00b68a..73627cd0ae68e83d816300e2f43e82f6b3419170 100644 (file)
@@ -29,10 +29,10 @@ exception Level_not_found of int
 (** {2 Parsing functions} *)
 
   (** concrete syntax pattern: notation level 1 *)
-val parse_syntax_pattern: char Stream.t -> CicNotationPt.term
+val parse_level1_pattern: char Stream.t -> CicNotationPt.term
 
   (** AST pattern: notation level 2 *)
-val parse_ast_pattern:    char Stream.t -> CicNotationPt.term
+val parse_level2_ast: char Stream.t -> CicNotationPt.term
 
   (** interpretation: notation level 3 *)
 val parse_interpretation: char Stream.t -> CicNotationPt.cic_appl_pattern
@@ -53,6 +53,18 @@ val extend:
 
 val delete: rule_id -> unit
 
+(** {2 Standard precedences} *)
+
+val let_in_prec: int
+val binder_prec: int
+val apply_prec: int
+val simple_prec: int
+
+val let_in_assoc: Gramext.g_assoc
+val binder_assoc: Gramext.g_assoc
+val apply_assoc: Gramext.g_assoc
+val simple_assoc: Gramext.g_assoc
+
 (** {2 Debugging} *)
 
   (** print "level2_pattern" entry on stdout, flushing afterwards *)