X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fcomponents%2Fgrafite_parser%2FgrafiteParser.mli;h=1d006437928afb15223effad0862e6c0f3eb5055;hb=f9abd21eb0d26cf9b632af4df819225be4d091e3;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..1d0064379 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,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 localized_option +type parsable +val parsable_statement: #status -> Ulexing.lexbuf -> parsable +val parse_statement: #status -> parsable -> GrafiteAst.statement +val strm_of_parsable: parsable -> Ulexing.lexbuf