package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.39.1.tar.gz
md5=19e3eb1003161d8e7ed65c96c4f69d52
sha512=37834e1726a004272fbc153fc4cd0a6afdf02b7918acf27492acd60890c32591eb8f5b22fcfd99dd707d8507b8208bdb24c99de9fd940cc2ad0171f1d103743f
doc/pfff-graph_code/Graph_code/index.html
Module Graph_code
type node = string * Entity_code.entity_kind
type nodeinfo = {
pos : Parse_info.token_location;
props : Entity_code.property list;
typ : string option;
}
exception Error of error
val string_of_error : error -> string
type statistics = {
parse_errors : Common.filename list ref;
lookup_fail : (Parse_info.info * node) list ref;
method_calls : (Parse_info.info * resolved) list ref;
field_access : (Parse_info.info * resolved) list ref;
unresolved_class_access : Parse_info.info list ref;
unresolved_calls : Parse_info.info list ref;
}
val empty_statistics : unit -> statistics
type whitelist = dependency list
val load : Common.filename -> graph
val save : graph -> Common.filename -> unit
val root : node
val pb : node
val not_found : node
val dupe : node
val create : unit -> graph
val create_initial_hierarchy : graph -> unit
val create_intermediate_directories_if_not_present :
graph ->
Common.dirname ->
unit
val basename_to_readable_disambiguator :
Common.filename list ->
root:Common.dirname ->
string ->
Common.filename list
val file_of_node : node -> graph -> Common.filename
val privacy_of_node : node -> graph -> Entity_code.privacy
val shortname_of_node : node -> string
val nb_nodes : graph -> int
val nb_use_edges : graph -> int
val print_statistics : statistics -> graph -> unit
val group_edges_by_files_edges :
(node * node) list ->
graph ->
((Common.filename * Common.filename) * (node * node) list) list
val graph_of_dotfile : Common.filename -> graph
val string_of_node : node -> string
val display_with_gv : graph -> unit
val load_adjust : Common.filename -> adjust list
val load_whitelist : Common.filename -> whitelist
val save_whitelist : whitelist -> Common.filename -> graph -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>