Module Parameter_sig

module Parameter_sig: sig .. end
Signatures for command line options.
Consult the Plugin Development Guide for additional details.


Input signatures

One of these signatures is required to implement a new command line option.

module type Input = sig .. end
Minimal signature to implement for each parameter corresponding to an option on the command line argument.
module type Input_with_arg = sig .. end
Minimal signature to implement for each parameter corresponding to an option on the command line argument which requires an argument.

Output signatures

Signatures corresponding to a command line option of a specific type.

module type S_no_parameter = sig .. end
Generic signature of a parameter, without parameter.
module type S = sig .. end
Generic signature of a parameter.
module type Bool = sig .. end
Signature for a boolean parameter.
module type With_output = sig .. end
Signature for a boolean parameter that causes something to be output.
module type Int = sig .. end
Signature for an integer parameter.
module type String = sig .. end
Signature for a string parameter.
module type String_collection = sig .. end
Signature for a generic set of strings option.
module type String_set = String_collection  with type t = Datatype.String.Set.t
module type String_list = sig .. end
module type String_hashtbl = sig .. end

Complex values indexed by strings


module type Indexed_val = sig .. end
option interface
module type Indexed_val_input = sig .. end
input signature for IndexedVal
module type Specific_dir = sig .. end
signature for searching files in a specific directory.

All the different kinds of command line options as functors


module type Builder = sig .. end
Signatures containing the different functors which may be used to generate new command line options.