diff options
| author | bertot | 2001-02-09 08:15:57 +0000 |
|---|---|---|
| committer | bertot | 2001-02-09 08:15:57 +0000 |
| commit | 6c9c73e4c0de61bbf728aa4e0e87c51e79ec3efc (patch) | |
| tree | e94829c04127939514a1a913faa753f04e7d7d28 | |
| parent | 279b3b451b47e271a1a7e0155d90ad8945473003 (diff) | |
exported a few functions that are used in graphical interface pcoq.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1361 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | parsing/search.mli | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/parsing/search.mli b/parsing/search.mli index 8e813c5108..96f64b7ce8 100644 --- a/parsing/search.mli +++ b/parsing/search.mli @@ -12,3 +12,18 @@ open Pattern val search_by_head : global_reference -> dir_path list * bool -> unit val search_rewrite : constr_pattern -> dir_path list * bool -> unit val search_pattern : constr_pattern -> dir_path list * bool -> unit + +(* The filtering function that is by standard search facilities. + It can be passed as argument to the raw search functions. + It is used in pcoq. *) + +val filter_by_module : dir_path list -> bool -> global_reference -> env -> 'a -> bool + +(* raw search functions can be used for various extensions. + They are also used for pcoq. *) +val filtered_search : (global_reference -> env -> constr -> bool) -> + (global_reference -> env -> constr -> unit) -> global_reference -> unit +val raw_pattern_search : (global_reference -> env -> constr -> bool) -> + (global_reference -> env -> constr -> unit) -> constr_pattern -> unit +val raw_search_rewrite : (global_reference -> env -> constr -> bool) -> + (global_reference -> env -> constr -> unit) -> constr_pattern -> unit |
