]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/mathql/mQueryUtil.mli
This commit was manufactured by cvs2svn to create tag
[helm.git] / helm / ocaml / mathql / mQueryUtil.mli
index 0e62e4a1397bdba8a5b4717b534afbc62530e185..53d612e822ae60fd0fb5ba7aa6983dcd9657ee6d 100644 (file)
 (*                                                                            *)
 (******************************************************************************)
 
-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  : (string -> unit) -> MathQL.query -> string -> unit
 
-val xp_str_uref : MathQL.mquref -> string        (* string linearization of a UriMan. reference *)
+val text_of_result : (string -> unit) -> MathQL.result -> string -> unit
 
-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 *)
+type time
 
-val tref_uref   : MathQL.mquref -> MathQL.mqtref (* "tref of uref" conversion *)
+val start_time : unit -> time
 
-val parse_text  : in_channel -> MathQL.mquery    (* textual parsing of a query *) 
+val stop_time  : time -> string
+
+
+type uriref = UriManager.uri * (int list)
+
+val string_of_uriref : uriref -> string