| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
open Names |
| 12 |
open Constr |
| 13 |
open Environ |
| 14 |
open Pattern |
| 15 |
open Vernacexpr |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
type glob_search_item = |
| 20 |
| GlobSearchSubPattern of glob_search_where * bool * constr_pattern |
| 21 |
| GlobSearchString of string |
| 22 |
| GlobSearchKind of Decls.logical_kind |
| 23 |
| GlobSearchFilter of (GlobRef.t -> bool) |
| 24 |
|
| 25 |
type glob_search_request = |
| 26 |
| GlobSearchLiteral of glob_search_item |
| 27 |
| GlobSearchDisjConj of (bool * glob_search_request) list list |
| 28 |
|
| 29 |
type filter_function = |
| 30 |
GlobRef.t -> Decls.logical_kind option -> env -> Evd.evar_map -> constr -> bool |
| 31 |
type display_function = |
| 32 |
GlobRef.t -> Decls.logical_kind option -> env -> Evd.evar_map -> constr -> unit |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
val blacklist_filter : filter_function |
| 37 |
|
| 38 |
|
| 39 |
val module_filter : Libnames.full_path list search_restriction -> filter_function |
| 40 |
|
| 41 |
|
| 42 |
val search_filter : glob_search_item -> filter_function |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
val search_rewrite : env -> Evd.evar_map -> constr_pattern -> Libnames.full_path list search_restriction |
| 51 |
-> display_function -> unit |
| 52 |
val search_pattern : env -> Evd.evar_map -> constr_pattern -> Libnames.full_path list search_restriction |
| 53 |
-> display_function -> unit |
| 54 |
val search : env -> Evd.evar_map -> (bool * glob_search_request) list |
| 55 |
-> Libnames.full_path list search_restriction -> display_function -> unit |
| 56 |
|
| 57 |
type search_constraint = |
| 58 |
| Name_Pattern of Str.regexp |
| 59 |
|
| 60 |
| Type_Pattern of Pattern.constr_pattern |
| 61 |
|
| 62 |
| SubType_Pattern of Pattern.constr_pattern |
| 63 |
|
| 64 |
| In_Module of Libnames.full_path |
| 65 |
|
| 66 |
| Include_Blacklist |
| 67 |
|
| 68 |
|
| 69 |
type 'a coq_object = { |
| 70 |
coq_object_prefix : string list; |
| 71 |
coq_object_qualid : string list; |
| 72 |
coq_object_object : 'a; |
| 73 |
} |
| 74 |
|
| 75 |
val interface_search : env -> Evd.evar_map -> (search_constraint * bool) list -> constr coq_object list |
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
val generic_search : env -> Evd.evar_map -> display_function -> unit |
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
val prioritize_search : (display_function -> unit) -> display_function -> unit |
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|