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-h_program-lang/Layer_code/index.html
Module Layer_code
type layer = {
title : string;
description : string;
files : (Common.filename * file_info) list;
kinds : (kind * color) list;
}
type layers_with_index = {
root : Common.dirname;
layers : (layer * bool) list;
micro_index : (Common.filename, (int, color) Hashtbl.t) Hashtbl.t;
macro_index : (Common.filename, (float * color) list) Hashtbl.t;
}
val build_index_of_layers :
root:Common.dirname ->
(layer * bool) list ->
layers_with_index
val has_active_layers : layers_with_index -> bool
val load_layer : Common.filename -> layer
val save_layer : layer -> Common.filename -> unit
val json_of_layer : layer -> Json_type.t
val layer_of_json : Json_type.t -> layer
val simple_layer_of_parse_infos :
root:Common.dirname ->
title:string ->
?description:string ->
(Parse_info.info * kind) list ->
(kind * color) list ->
layer
val filter_layer : (Common.filename -> bool) -> layer -> layer
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>