]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_parser/grafiteParser.mli
Previous patch improved: we now use an ad-hoc wrapper for Grammar.parsable
[helm.git] / matita / components / grafite_parser / grafiteParser.mli
index 888b7394249b148313929ba702f09726f0a609b3..ec5cdbb21d125a18dcf0bffd1b4987ac4987dcf4 100644 (file)
@@ -23,8 +23,6 @@
  * http://helm.cs.unibo.it/
  *)
 
-type ast_statement = GrafiteAst.statement
-
 type db 
 
 class type g_status =
@@ -49,4 +47,6 @@ val extend : #status as 'status ->
  (* never_include: do not call LexiconEngine to do includes, 
   * always raise NoInclusionPerformed *) 
 (** @raise End_of_file *)
-val parse_statement: #status -> Ulexing.lexbuf -> ast_statement
+type parsable
+val parsable_statement: #status -> Ulexing.lexbuf -> parsable
+val parse_statement: #status -> parsable -> GrafiteAst.statement