X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Focaml%2Fmathql%2FmQueryUtil.mli;h=bb38dc91d349ec1bca9b564382ca102e9c0ad80a;hb=d1010e05c0d73e3b44d3d971592bd8be9e1e0752;hp=0e62e4a1397bdba8a5b4717b534afbc62530e185;hpb=dec50888f98015c937283acc14e2ffceccc04a11;p=helm.git diff --git a/helm/ocaml/mathql/mQueryUtil.mli b/helm/ocaml/mathql/mQueryUtil.mli index 0e62e4a13..bb38dc91d 100644 --- a/helm/ocaml/mathql/mQueryUtil.mli +++ b/helm/ocaml/mathql/mQueryUtil.mli @@ -23,28 +23,32 @@ * 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 UriMan. reference *) +val start_time : unit -> time -val str_tref : MathQL.mqtref -> string (* string linearization of a tokenized reference *) +val stop_time : time -> string -val xp_str_uref : MathQL.mquref -> string (* string linearization of a UriMan. reference *) +type 'a comparison = Lt + | Gt + | Eq of 'a -val xp_str_tref : MathQL.mqtref -> string (* string linearization of a tokenized reference *) +val list_join : ('a -> 'a -> 'a comparison) -> 'a list -> 'a list -> 'a list -val out_query : MathQL.mquery -> string (* HTML representation of a query *) +val list_meet : ('a -> 'a -> 'a comparison) -> 'a list -> 'a list -> 'a list -val out_result : MathQL.mqresult -> string (* HTML representation of a query result *) -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