X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotationParser.mli;h=d614c68bca4b1dedd997677480fefe15ccf748bd;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=083d442eb15511a3b7f5ecd856828740969f9303;hpb=e20f3963028a966fc93ba0d611c4aa8341d20e2c;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationParser.mli b/helm/ocaml/cic_notation/cicNotationParser.mli index 083d442eb..d614c68bc 100644 --- a/helm/ocaml/cic_notation/cicNotationParser.mli +++ b/helm/ocaml/cic_notation/cicNotationParser.mli @@ -29,20 +29,20 @@ exception Level_not_found of int (** {2 Parsing functions} *) (** concrete syntax pattern: notation level 1 *) -val parse_level1_pattern: char Stream.t -> CicNotationPt.term +val parse_level1_pattern: Ulexing.lexbuf -> CicNotationPt.term (** AST pattern: notation level 2 *) -val parse_level2_ast: char Stream.t -> CicNotationPt.term -val parse_level2_meta: char Stream.t -> CicNotationPt.term +val parse_level2_ast: Ulexing.lexbuf -> CicNotationPt.term +val parse_level2_meta: Ulexing.lexbuf -> CicNotationPt.term (** {2 Grammar extension} *) type rule_id val extend: - CicNotationPt.term -> - ?precedence:int -> - ?associativity:Gramext.g_assoc -> + CicNotationPt.term -> (* level 1 pattern *) + precedence:int -> + associativity:Gramext.g_assoc -> (CicNotationEnv.t -> CicNotationPt.location -> CicNotationPt.term) -> rule_id @@ -54,8 +54,10 @@ val delete: rule_id -> unit val level2_ast_grammar: Grammar.g val term : CicNotationPt.term Grammar.Entry.e + val let_defs : - (CicNotationPt.capture_variable * CicNotationPt.term * int) list Grammar.Entry.e + (CicNotationPt.capture_variable * CicNotationPt.term * int) list + Grammar.Entry.e (** {2 Debugging} *)