package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.39.5.tar.gz
md5=e23dbd320a8681b74315162a02bf97a7
sha512=2998432bcd6d9a459331d733c4446d35459d42787fcf2fd332d3ec5131a4d358bb8f060b45d38696bcd584e1eaa8c1b21b82d7d3005e83c1ecefd22fec842ee7
doc/pfff-h_program-lang/Error_code/index.html
Module Error_code
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
| UnusedStatement
| UnusedAssign of string
| UseOfUninitialized of string
| CFGError of string
| SgrepLint of string * string
| FatalError of string
and entity = string * Entity_code.entity_kind
val error : Parse_info.t -> error_kind -> unit
val warning : Parse_info.t -> error_kind -> unit
val error_loc : Parse_info.token_location -> error_kind -> unit
val warning_loc : Parse_info.token_location -> error_kind -> unit
val string_of_error : error -> string
val string_of_error_kind : error_kind -> string
val score_of_rank : rank -> int
val score_of_error : error -> int
val annotation_at : Parse_info.token_location -> annotation option
val options : unit -> Common.cmdline_options
val report_parse_errors : bool ref
val report_fatal_errors : bool ref
val adjust_paths_relative_to_root : Common.path -> error list -> error list
val try_with_exn_to_error : Common.filename -> (unit -> unit) -> unit
val try_with_print_exn_and_reraise : Common.filename -> (unit -> unit) -> unit
type identifier_index = (string, Parse_info.token_location) Hashtbl.t
val expected_error_lines_of_files :
Common.filename list ->
(Common.filename * int) list
val compare_actual_to_expected :
error list ->
(Common.filename * int) list ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>