X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fgrafite_parser%2FgrafiteParser.mli;h=1d006437928afb15223effad0862e6c0f3eb5055;hb=e28ddccd4096c80b2090ca78af00e2590f629b71;hp=888b7394249b148313929ba702f09726f0a609b3;hpb=939dfce0cb12f7e7760a24d89f6812890b9df431;p=helm.git diff --git a/matita/components/grafite_parser/grafiteParser.mli b/matita/components/grafite_parser/grafiteParser.mli index 888b73942..1d0064379 100644 --- a/matita/components/grafite_parser/grafiteParser.mli +++ b/matita/components/grafite_parser/grafiteParser.mli @@ -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,7 @@ 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 +val strm_of_parsable: parsable -> Ulexing.lexbuf