package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.39.5.tar.gz
md5=e23dbd320a8681b74315162a02bf97a7
sha512=2998432bcd6d9a459331d733c4446d35459d42787fcf2fd332d3ec5131a4d358bb8f060b45d38696bcd584e1eaa8c1b21b82d7d3005e83c1ecefd22fec842ee7
doc/pfff-h_program-lang/Database_code/index.html
Module Database_code
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 load_database : Common.filename -> database
val save_database : database -> Common.filename -> unit
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 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>