PrettypThis module implements Print/About/Locate commands
val assumptions_for_print : Names.Name.t list -> Termops.names_contextval print_context :
Environ.env ->
Evd.evar_map ->
with_values:Global.indirect_accessor option ->
int option ->
'a Lib.library_segment ->
Pp.tval print_library_leaf :
Environ.env ->
Evd.evar_map ->
with_values:Global.indirect_accessor option ->
Names.ModPath.t ->
Libobject.t ->
Pp.t optionval print_library_node : Summary.Interp.frozen Lib.node -> Pp.tval print_full_context :
Global.indirect_accessor ->
Environ.env ->
Evd.evar_map ->
Pp.tval print_full_context_typ : Environ.env -> Evd.evar_map -> Pp.tval print_full_pure_context :
Global.indirect_accessor ->
Environ.env ->
Evd.evar_map ->
Pp.tval print_sec_context :
Global.indirect_accessor ->
Environ.env ->
Evd.evar_map ->
Libnames.qualid ->
Pp.tval print_sec_context_typ :
Environ.env ->
Evd.evar_map ->
Libnames.qualid ->
Pp.tval print_judgment :
Environ.env ->
Evd.evar_map ->
EConstr.unsafe_judgment ->
Pp.tval print_safe_judgment : Safe_typing.judgment -> Pp.tval print_name :
Global.indirect_accessor ->
Environ.env ->
Evd.evar_map ->
Libnames.qualid Constrexpr.or_by_notation ->
UnivNames.univ_name_list option ->
Pp.tval print_notation :
Environ.env ->
Evd.evar_map ->
Libnames.qualid Constrexpr.notation_entry_gen ->
string ->
Pp.tval print_abbreviation :
Global.indirect_accessor ->
Environ.env ->
Evd.evar_map ->
Names.KerName.t ->
Pp.tval print_about :
Environ.env ->
Evd.evar_map ->
Libnames.qualid Constrexpr.or_by_notation ->
UnivNames.univ_name_list option ->
Pp.tval print_impargs : Environ.env -> Names.GlobRef.t -> Pp.tval print_graph : unit -> Pp.tPretty-printing functions for classes and coercions
val print_classes : unit -> Pp.tval print_coercions : unit -> Pp.tval print_coercion_paths : Coercionops.cl_typ -> Coercionops.cl_typ -> Pp.tval print_canonical_projections :
Environ.env ->
Evd.evar_map ->
Names.GlobRef.t list ->
Pp.tval print_typeclasses : unit -> Pp.tPretty-printing functions for type classes and instances
val print_instances : Names.GlobRef.t -> Pp.tval print_all_instances : unit -> Pp.tval inspect : Environ.env -> Evd.evar_map -> int -> Pp.ttype 'a locatable_info = {locate : Libnames.qualid -> 'a option;Locate the most precise object with the provided name if any.
*)locate_all : Libnames.qualid -> 'a list;Locate all objects whose name is a suffix of the provided name
*)shortest_qualid : 'a -> Libnames.qualid;Return the shortest name in the current context
*)name : 'a -> Pp.t;Data as printed by the Locate command
*)print : 'a -> Pp.t;Data as printed by the Print command
*)about : 'a -> Pp.t;Data as printed by the About command
*)}Generic data structure representing locatable objects.
val register_locatable : string -> 'a locatable_info -> unitDefine a new type of locatable objects that can be reached via the corresponding generic vernacular commands. The string should be a unique name describing the kind of objects considered and that is added as a grammar command prefix for vernacular commands Locate.
val print_located_qualid : Environ.env -> Libnames.qualid -> Pp.tval print_located_term : Environ.env -> Libnames.qualid -> Pp.tval print_located_module : Environ.env -> Libnames.qualid -> Pp.tval print_located_other : Environ.env -> string -> Libnames.qualid -> Pp.t