package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.37.7.tar.gz
md5=d069f379342be72574b4cdc52f4ed9b4
sha512=68e9971364f5e016bad8f94bb72fd15252f19c7964424992309cdb4a9fc922dbe15d07619f500f4bcbc72f820c93d4da20f0759bb4276cd073a29a179bef9300
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)"
>