X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql%2FmQueryUtil.mli;h=53d612e822ae60fd0fb5ba7aa6983dcd9657ee6d;hb=91db309a46f8b6f100a36abbc568deec10a8d1df;hp=94126555b006dfdf3ab88675f43ad27c7a584d43;hpb=3c57d335904d0480f3145ccdcf663206cffd5567;p=helm.git diff --git a/helm/ocaml/mathql/mQueryUtil.mli b/helm/ocaml/mathql/mQueryUtil.mli index 94126555b..53d612e82 100644 --- a/helm/ocaml/mathql/mQueryUtil.mli +++ b/helm/ocaml/mathql/mQueryUtil.mli @@ -33,14 +33,22 @@ (* *) (******************************************************************************) -val str_uref : MathQL.mquref -> string (* string linearization of a UriManager reference *) -val str_tref : MathQL.mqtref -> string (* string linearization of a tokenized reference *) +val text_of_query : (string -> unit) -> MathQL.query -> string -> unit -val out_query : MathQL.mquery -> string (* HTML representation of a query *) +val text_of_result : (string -> unit) -> MathQL.result -> string -> unit -val out_result : MathQL.mqresult -> string (* HTML representation of a query result *) +val query_of_text : Lexing.lexbuf -> MathQL.query -val tref_uref : MathQL.mquref -> MathQL.mqtref (* "tref of uref" conversion *) +val result_of_text : Lexing.lexbuf -> MathQL.result -val parse_text : in_channel -> MathQL.mquery (* textual parsing of a query *) +type time + +val start_time : unit -> time + +val stop_time : time -> string + + +type uriref = UriManager.uri * (int list) + +val string_of_uriref : uriref -> string