package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.37.1.tar.gz
sha256=d5be49a8ee9d26bff98b902533e0bde59cf1613a6e8f15651492205434f35c0e
md5=637a4f055de86bf02ad372b45e5567a9
doc/lib/Common/index.html
Module Common
val cat : filename -> string list
val write_file : file:filename -> string -> unit
val read_file : filename -> string
val with_open_outfile :
filename ->
(((string -> unit) * Stdlib.out_channel) -> 'a) ->
'a
val with_open_infile : filename -> (Stdlib.in_channel -> 'a) -> 'a
val sort_by_val_lowfirst : ('a, 'b) assoc -> ('a * 'b) list
val sort_by_val_highfirst : ('a, 'b) assoc -> ('a * 'b) list
val sort_by_key_lowfirst : ('a, 'b) assoc -> ('a * 'b) list
val sort_by_key_highfirst : ('a, 'b) assoc -> ('a * 'b) list
val push : 'a -> 'a stack Stdlib.ref -> unit
val hashset_of_list : 'a list -> 'a hashset
val hashset_to_list : 'a hashset -> 'a list
val partition_either : ('a -> ('b, 'c) either) -> 'a list -> 'b list * 'c list
val partition_either3 :
('a -> ('b, 'c, 'd) either3) ->
'a list ->
'b list * 'c list * 'd list
type cmdline_options = arg_spec_full list
type options_with_title = string * string * arg_spec_full list
type cmdline_sections = options_with_title list
val parse_options :
cmdline_options ->
Stdlib.Arg.usage_msg ->
string array ->
string list
val usage : Stdlib.Arg.usage_msg -> cmdline_options -> unit
val short_usage : Stdlib.Arg.usage_msg -> short_opt:cmdline_options -> unit
val long_usage :
Stdlib.Arg.usage_msg ->
short_opt:cmdline_options ->
long_opt:cmdline_sections ->
unit
val arg_align2 : cmdline_options -> cmdline_options
val arg_parse2 :
cmdline_options ->
Stdlib.Arg.usage_msg ->
(unit -> unit) ->
string list
type action_spec = Stdlib.Arg.key * Stdlib.Arg.doc * action_func
type cmdline_actions = action_spec list
val mk_action_0_arg : (unit -> unit) -> action_func
val mk_action_1_arg : (string -> unit) -> action_func
val mk_action_2_arg : (string -> string -> unit) -> action_func
val mk_action_3_arg : (string -> string -> string -> unit) -> action_func
val mk_action_4_arg :
(string -> string -> string -> string -> unit) ->
action_func
val mk_action_n_arg : (string list -> unit) -> action_func
val options_of_actions :
string Stdlib.ref ->
cmdline_actions ->
cmdline_options
val do_action : Stdlib.Arg.key -> string list -> cmdline_actions -> unit
val action_list : cmdline_actions -> Stdlib.Arg.key list
val profile : prof Stdlib.ref
val new_temp_file : string -> string -> filename
val erase_this_temp_file : filename -> unit
val cache_computation :
?verbose:bool ->
?use_cache:bool ->
filename ->
string ->
(unit -> 'a) ->
'a
val files_of_dir_or_files_no_vcs_nofilter : string list -> filename list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>