Database_codetype entity = {e_kind : Entity_code.entity_kind;e_name : string;e_fullname : string;e_file : Common.filename;e_pos : Common2.filepos;mutable e_number_external_users : int;mutable e_good_examples_of_use : entity_id list;e_properties : Entity_code.property list;}type database = {root : Common.dirname;dirs : (Common.filename * int) list;files : (Common.filename * int) list;entities : entity array;}val empty_database : unit -> databaseval load_database : Common.filename -> databaseval save_database : database -> Common.filename -> unitval alldirs_and_parent_dirs_of_relative_dirs :
Common.dirname list ->
Common.dirname listval files_and_dirs_database_from_files :
root:Common.dirname ->
Common.filename list ->
databaseval adjust_method_or_field_external_users :
verbose:bool ->
entity array ->
unitval build_top_k_sorted_entities_per_file :
k:int ->
entity array ->
(Common.filename, entity list) Hashtbl.tval entity_kind_of_highlight_category_def :
Highlight_code.category ->
Entity_code.entity_kind optionval entity_kind_of_highlight_category_use :
Highlight_code.category ->
Entity_code.entity_kind optionval is_entity_def_category : Highlight_code.category -> boolval matching_def_short_kind_kind :
Entity_code.entity_kind ->
Entity_code.entity_kind ->
boolval matching_use_categ_kind :
Highlight_code.category ->
Entity_code.entity_kind ->
boolval entity_and_highlight_category_correpondance :
entity ->
Highlight_code.category ->
bool