X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql%2FmQueryUtil.mli;fp=helm%2Focaml%2Fmathql%2FmQueryUtil.mli;h=9881b3b545b0b8d762cf657dd43f481f43d7e70c;hb=ba824e867afc3eaf081ed1a1d6526d421242a6a0;hp=0e62e4a1397bdba8a5b4717b534afbc62530e185;hpb=0b2c5757a7d7d87adc0144f790ca5294f9433175;p=helm.git diff --git a/helm/ocaml/mathql/mQueryUtil.mli b/helm/ocaml/mathql/mQueryUtil.mli index 0e62e4a13..9881b3b54 100644 --- a/helm/ocaml/mathql/mQueryUtil.mli +++ b/helm/ocaml/mathql/mQueryUtil.mli @@ -33,18 +33,17 @@ (* *) (******************************************************************************) -val str_uref : MathQL.mquref -> string (* string linearization of a UriMan. reference *) -val str_tref : MathQL.mqtref -> string (* string linearization of a tokenized reference *) +val text_of_query : MathQL.query -> string -val xp_str_uref : MathQL.mquref -> string (* string linearization of a UriMan. reference *) +val text_of_result : MathQL.result -> string -> string -val xp_str_tref : MathQL.mqtref -> string (* string linearization of a tokenized reference *) +val query_of_text : Lexing.lexbuf -> MathQL.query -val out_query : MathQL.mquery -> string (* HTML representation of a query *) +val result_of_text : Lexing.lexbuf -> MathQL.result -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 string_of_uriref : uriref -> string -val parse_text : in_channel -> MathQL.mquery (* textual parsing of a query *)