]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite_parser/grafiteParser.mli
- Procedural convertible rewrites in the conclusion are now detected and replaced...
[helm.git] / helm / software / components / grafite_parser / grafiteParser.mli
index 47f0af02bf455ea6ba3f919a16b679f4fcbd81be..1413e93fd97409b96518496a0fcf993d61007fe7 100644 (file)
@@ -44,7 +44,15 @@ type statement =
 
 val parse_statement: Ulexing.lexbuf -> statement  (** @raise End_of_file *)
 
-val statement: statement Grammar.Entry.e
+val statement: unit -> statement Grammar.Entry.e
 
-(* this callback is called on every include command *)
-val set_callback: (string -> unit) -> unit 
+(* this callback is called before every grafite statement *)
+val set_grafite_callback:
+   (LexiconEngine.status -> ast_statement -> unit) -> unit 
+
+(* this callback is called before every lexicon command *)
+val set_lexicon_callback:
+   (LexiconEngine.status -> LexiconAst.command -> unit) -> unit 
+
+val push : unit -> unit
+val pop : unit -> unit