X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotationLexer.mli;h=765a554f4172292d4881daf932034353925418bf;hb=28ac70d3f475442cda4ef30e0e9c0e6d012b2527;hp=dd1561be28a4089ebd48983332bb52dd9cbc90d7;hpb=4a7dd5f16ad7a3ac176c0650580f736ae73f373d;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationLexer.mli b/helm/ocaml/cic_notation/cicNotationLexer.mli index dd1561be2..765a554f4 100644 --- a/helm/ocaml/cic_notation/cicNotationLexer.mli +++ b/helm/ocaml/cic_notation/cicNotationLexer.mli @@ -28,5 +28,18 @@ * error message *) exception Error of int * int * string -val notation_lexer: (string * string) Token.glexer + (** XXX ZACK DEFCON 4 BEGIN: never use the tok_func field of the glexers below + * passing values of type char Stream.t, they should be in fact Ulexing.lexbuf + * casted with Obj.magic :-/ Read the comment in the .ml for the rationale *) + +val level1_pattern_lexer: (string * string) Token.glexer +val level2_ast_lexer: (string * string) Token.glexer +val level2_meta_lexer: (string * string) Token.glexer + + (** XXX ZACK DEFCON 4 END *) + +val add_level2_ast_keyword: string -> unit (** non idempotent *) +val remove_level2_ast_keyword: string -> unit (** non idempotent *) + +(* val lookup_ligatures: string -> string list *)