package lib_parsing

  1. Overview
  2. Docs
Small library to help writing parsers

Install

Dune Dependency

Authors

Maintainers

Sources

semgrep-full-1.12.0.tar.gz
md5=d72b17df65c5cea30701cdf25f186bca
sha512=b135affadcdeb892352ec269a8761e41d2b34383ee839b83855f9604983eae324732b76f1b2b8b305dfc06f1f8863dd32afe83528bf605daa910a3fc107474c5

doc/lib_parsing/Parsing_stat/index.html

Module Parsing_statSource

Sourcetype ast_stat = {
  1. total_node_count : int;
  2. untranslated_node_count : int;
}
Sourcetype t = {
  1. filename : Common.filename;
  2. total_line_count : int;
  3. mutable error_line_count : int;
  4. mutable have_timeout : bool;
  5. mutable commentized : int;
  6. mutable problematic_lines : (string list * int) list;
  7. ast_stat : ast_stat option;
}
Sourceval default_stat : Common.filename -> t
Sourceval bad_stat : Common.filename -> t
Sourceval correct_stat : Common.filename -> t
Sourceval summary_of_stat : t -> string
Sourceval print_parsing_stat_list : ?verbose:bool -> t list -> unit
Sourceval print_recurring_problematic_tokens : t list -> unit
Sourceval aggregate_stats : t list -> int * int
Sourceval print_regression_information : ext:string -> Common2.path list -> Common2.score -> unit
OCaml

Innovation. Community. Security.