X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql%2FmQueryUtil.mli;h=69aaebd774cce29633faafb4e52f966288d35569;hb=f7b2e35a7bdadb4fdf0e640428e694703ddf67a5;hp=139cb018143133ce2e782dc2dfe6c1016956a8a6;hpb=6c04191a9045120d3cf5f6046eee627d6499e5c9;p=helm.git diff --git a/helm/ocaml/mathql/mQueryUtil.mli b/helm/ocaml/mathql/mQueryUtil.mli index 139cb0181..69aaebd77 100644 --- a/helm/ocaml/mathql/mQueryUtil.mli +++ b/helm/ocaml/mathql/mQueryUtil.mli @@ -23,22 +23,24 @@ * http://cs.unibo.it/helm/. *) -(******************************************************************************) -(* *) -(* PROJECT HELM *) -(* *) -(* Ferruccio Guidi *) -(* 30/04/2002 *) -(* *) -(* *) -(******************************************************************************) +(* AUTOR: Ferruccio Guidi + *) + +val text_of_query : (string -> unit) -> MathQL.query -> string -> unit + +val text_of_result : (string -> unit) -> MathQL.result -> string -> unit + +val query_of_text : Lexing.lexbuf -> MathQL.query + +val result_of_text : Lexing.lexbuf -> MathQL.result + +type time -val str_uref : MathQL.mquref -> string (* string linearization of a UriManager reference *) +val start_time : unit -> time -val str_tref : MathQL.mqtref -> string (* string linearization of a tokenized reference *) +val stop_time : time -> string -val out_query : MathQL.mquery -> string (* HTML representation of a query *) -val tref_uref : MathQL.mquref -> MathQL.mqtref (* "tref of uref" conversion *) +type uriref = UriManager.uri * (int list) -val parse_text : in_channel -> MathQL.mquery (* textual parsing of a query *) +val string_of_uriref : uriref -> string