and severity = | Error| Warning
and error_kind = | LexicalError of string| ParseError| AstbuilderError of string| OtherParsingError of string| Deadcode of entity| UndefinedDefOfDecl of entity| UnusedExport of entity * Common.filename| UnusedVariable of string * Scope_code.t| UnreachableStatement of string| CFGError of string| SgrepLint of string * string| FatalError of string
type annotation = | AtScheck of string
val string_of_error : error -> stringtype rank = | Never| OnlyStrict| Less| Ok| Important| ReallyImportant
val score_of_rank : rank -> intval score_of_error : error -> intval report_parse_errors : bool refval report_fatal_errors : bool refval filter_maybe_parse_and_fatal_errors : error list -> error listval try_analyze_file_with_exn_to_errors :
Common.filename ->
(unit -> unit) ->
unit