package pfff

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type stat = (string, int) Common2.hash_with_default
type stat_hooks = {
  1. entity : (Entity_code.entity_kind * string) -> unit;
  2. call : (Callgraph_php2.node * Callgraph_php2.node) -> unit;
}
val stat_of_program : ?hooks:stat_hooks -> stat -> Common.filename -> Cst_php.program -> unit
type stat2 = {
  1. mutable functions : int;
  2. mutable classes : int;
  3. mutable toplevels_funcalls : int;
  4. mutable toplevels_assign : int;
  5. mutable toplevels_other : int;
  6. mutable toplevels_include_requires : int;
  7. mutable toplevels_funcalls_kinds : (string * int) list;
}
type php_file_kind =
  1. | LibFile
  2. | IncluderFile
  3. | ScriptOrEndpointFile
val default_stat2 : unit -> stat2
val string_of_stat : stat2 -> string
val stat2_of_program : Cst_php.program -> stat2
val kind_of_file_using_stat : stat -> php_file_kind
OCaml

Innovation. Community. Security.