X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fgrafite_parser%2FgrafiteParser.mli;h=aa0fb5bdee9764f6edc70990f57a15d9c0304d64;hb=894d518aa760c9f816ddb0dc2b3fa88e1fe20a94;hp=3e3f40e13183d3fbd10e8bcef2b2e3f8365adf9a;hpb=29e65035d698f11ab4d3a627f8b9b6027f1f20d5;p=helm.git diff --git a/matita/components/grafite_parser/grafiteParser.mli b/matita/components/grafite_parser/grafiteParser.mli index 3e3f40e13..aa0fb5bde 100644 --- a/matita/components/grafite_parser/grafiteParser.mli +++ b/matita/components/grafite_parser/grafiteParser.mli @@ -23,12 +23,6 @@ * http://helm.cs.unibo.it/ *) -type 'a localized_option = - LSome of 'a - | LNone of GrafiteAst.loc - -type ast_statement = GrafiteAst.statement - type db class type g_status = @@ -37,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 @@ -53,7 +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 localized_option +type parsable +val parsable_statement: #status -> Ulexing.lexbuf -> parsable +val parse_statement: #status -> parsable -> GrafiteAst.statement