pfff-h_program-lang
Database_code
commons
commons_core
pfff-commons-graph
pfff-config
pfff-graph_code
pfff-h_files-format
pfff-h_version-control
pfff-h_visualization
pfff-lang_FUZZY
pfff-lang_GENERIC
pfff-lang_GENERIC-analyze
pfff-lang_c
pfff-lang_c-analyze
pfff-lang_cpp
pfff-lang_cpp-analyze
pfff-lang_java
pfff-lang_java-analyze
pfff-lang_js
pfff-lang_js-analyze
pfff-lang_ml
pfff-lang_ml-analyze
pfff-lang_nw
pfff-lang_nw-analyze
pfff-lang_python
pfff-lang_python-analyze
pfff-linter
pfff-matcher
type entity_id = int
type 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 -> database
val default_db_name : string
val load_database : Common.filename -> database
val save_database : database -> Common.filename -> unit
val merge_databases : database -> database -> database
val alldirs_and_parent_dirs_of_relative_dirs : Common.dirname list -> Common.dirname list
val files_and_dirs_database_from_files : root:Common.dirname -> Common.filename list -> database
val adjust_method_or_field_external_users : verbose:bool -> entity array -> unit
val build_top_k_sorted_entities_per_file : k:int -> entity array -> (Common.filename, entity list) Hashtbl.t
val files_and_dirs_and_sorted_entities_for_completion : threshold_too_many_entities:int -> database -> entity list
val entity_kind_of_highlight_category_def : Highlight_code.category -> Entity_code.entity_kind option
val entity_kind_of_highlight_category_use : Highlight_code.category -> Entity_code.entity_kind option
val is_entity_def_category : Highlight_code.category -> bool
val matching_def_short_kind_kind : Entity_code.entity_kind -> Entity_code.entity_kind -> bool
val matching_use_categ_kind : Highlight_code.category -> Entity_code.entity_kind -> bool
val entity_and_highlight_category_correpondance : entity -> Highlight_code.category -> bool