module Check:sig..end
type file =
| |
Interface |
(* |
The analyzed file is an interface.
| *) |
| |
Implementation |
(* |
The analyzed file is an implementation.
| *) |
typereport_function =int -> int option -> string -> unit
type report = {
|
filename : |
(* |
Name of file being analyzed.
| *) |
|
info : |
(* |
Function used to report an information.
| *) |
|
warning : |
(* |
Function used to report a warning.
| *) |
|
error : |
(* |
Function used to report an error.
| *) |
module type T =sig..end
typelines =file * (int * string) list
typeocamldoc =Odoc_info.Module.t_module
typetokens =file * (int * int * Camlp4.Sig.camlp4_token) list
typestructure =Camlp4.PreCast.Ast.str_item
typesignature =Camlp4.PreCast.Ast.sig_item
typeannotations =Annotation.file
typebinary_annotations =Cmt_format.cmt_infos
module type Lines =Twith type t = lines
module type OCamldoc =Twith type t = ocamldoc
module type Tokens =Twith type t = tokens
module type Structure =Twith type t = structure
module type Signature =Twith type t = signature
module type Annotations =Twith type t = annotations
module type Binary_annotations =Twith type t = binary_annotations
type t =
| |
Lines of |
(* |
Checks over source lines.
| *) |
| |
OCamldoc of |
(* |
Checks over ocamldoc comments.
| *) |
| |
Tokens of |
(* |
Checks over source tokens.
| *) |
| |
Structure of |
(* |
Checks over implementation syntax trees.
| *) |
| |
Signature of |
(* |
Checks over interface syntax trees.
| *) |
| |
Annotations of |
(* |
Checks over annotation files.
| *) |
| |
Binary_annotations of |
(* |
Checks over binary annotation files.
| *) |
val category : t -> CategoryName.tval name : t -> CheckName.tval multiple : t -> boolval description : t -> stringval documentation : t -> stringval rationale : t -> stringval limits : t -> stringval parameters : t -> Parameter.mapval same : t -> t -> bool