X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotationLexer.mli;h=cd5f0876dd2fe4d715a5791c27f7f6ffeb7fb5ff;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=33ba97e2b401ae03dacd53d7e9fb0025a3e9978d;hpb=c27b932e5adcf89dc9de0e28f65e3370fe3e6b05;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationLexer.mli b/helm/ocaml/cic_notation/cicNotationLexer.mli index 33ba97e2b..cd5f0876d 100644 --- a/helm/ocaml/cic_notation/cicNotationLexer.mli +++ b/helm/ocaml/cic_notation/cicNotationLexer.mli @@ -28,7 +28,21 @@ * error message *) exception Error of int * int * string + (** 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 *) + +(** {2 Ligatures} *) + +val is_ligature_char: char -> bool +val lookup_ligatures: string -> string list +