X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FmQueryGenerator.mli;h=b1db11142a9c0920e63d16319d1b18a91d67f1c1;hb=370f967a478c116fcc85a81c7953363b4351a2e9;hp=68c2ea2570859d7600719949b161d04fc3e2e729;hpb=7e9ee837f75f38bf01240cdc03dd51c764c2665f;p=helm.git diff --git a/helm/gTopLevel/mQueryGenerator.mli b/helm/gTopLevel/mQueryGenerator.mli index 68c2ea257..b1db11142 100644 --- a/helm/gTopLevel/mQueryGenerator.mli +++ b/helm/gTopLevel/mQueryGenerator.mli @@ -35,6 +35,21 @@ exception Discard +type uri = string +type position = string +type depth = int option +type sort = string + +type r_obj = (uri * position * depth) +type r_rel = (position * depth) +type r_sort = (position * depth * sort) + +type must_restrictions = (r_obj list * r_rel list * r_sort list) +type only_restrictions = + (r_obj list option * r_rel list option * r_sort list option) + + + val set_log_file : string -> unit (* the callback function must return false iff the query must be skipped *) @@ -44,6 +59,6 @@ val execute_query : MathQL.query -> MathQL.result val locate : string -> MathQL.result -val searchPattern : Cic.metasenv -> Cic.context -> Cic.term -> int -> MathQL.result +val searchPattern : must_restrictions -> only_restrictions -> MathQL.result val get_query_info : unit -> string list