]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_parser/grafiteParser.mli
HUGE COMMIT:
[helm.git] / matita / components / grafite_parser / grafiteParser.mli
index 888b7394249b148313929ba702f09726f0a609b3..aa0fb5bdee9764f6edc70990f57a15d9c0304d64 100644 (file)
@@ -23,8 +23,6 @@
  * http://helm.cs.unibo.it/
  *)
 
-type ast_statement = GrafiteAst.statement
-
 type db 
 
 class type g_status =
@@ -33,7 +31,7 @@ class type g_status =
   method parser_db: db
  end
 
-class status :
+class virtual status :
  object('self)
   inherit g_status
   inherit CicNotationParser.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