Frama-C API - Builder
Signatures containing the different functors which may be used to generate new command line options.
module WithOutput (_ : sig ... end) : With_outputmodule Zero (_ : Input_with_arg) : IntParameter with an optional decimal point converted to an Ocaml float
module Empty_string (_ : Input_with_arg) : Stringmodule Make_site_dir (_ : Site_dir) (_ : sig ... end) : Site_dirBuilds a Site_dir from an existing one. The first parameter is the parent directory. The second gives the name of the directory to create.
module Make_user_dir (_ : User_dir) (_ : sig ... end) : User_dirBuilds a User_dir from an existing one. The first parameter is the parent directory. The second gives the name of the directory to create.
module Make_user_dir_opt (_ : User_dir) (_ : sig ... end) : User_dir_optBuilds a User_dir_opt from an existing User_dir. The first parameter is the parent directory. The second gives the name of the directory to create (also used to create the option name), a possible environment variable name and the help message for the option.
Allow using custom types as parameters.
A fixed set of possible values, represented by a type t, intended to be a variant with only a finite number of possible constructions. Note that t must be comparable with structural equality
module String_set (_ : Input_with_arg) : String_setmodule Filled_string_set (_ : sig ... end) : String_setmodule Kernel_function_set (_ : Input_with_arg) : Kernel_function_setmodule Fundec_set (_ : Input_with_arg) : Fundec_setmodule String_list (_ : Input_with_arg) : String_listmodule Filepath_list (_ : sig ... end) : Filepath_listmodule Value_int : Value_datatype with type t = intmodule Value_string : Value_datatype with type t = stringmodule Filepath_map (V : Value_datatype) (_ : sig ... end) : Map with type key = Frama_c_kernel.Fclib.Filepath.t and type value = V.t and type t = V.t Frama_c_kernel.Fclib.Filepath.Map.tmodule Make_map (K : Value_datatype_with_collections) (V : Value_datatype) (_ : sig ... end) : Map with type key = K.t and type value = V.t and type t = V.t K.Map.tParameter is a map where multibindings are **not** allowed.
module String_map (V : Value_datatype) (_ : sig ... end) : Map with type key = string and type value = V.t and type t = V.t Datatype.String.Map.tmodule Kernel_function_map (V : Value_datatype) (_ : sig ... end) : Map with type key = Cil_types.kernel_function and type value = V.t and type t = V.t Cil_datatype.Kf.Map.tAs for Kernel_function_set, by default keys can only be defined functions. Use Parameter_customize.argument_may_be_fundecl to also include pure prototypes.
module Make_multiple_map (K : Value_datatype_with_collections) (V : Value_datatype) (_ : sig ... end) : Multiple_map with type key = K.t and type value = V.t and type t = V.t list K.Map.tParameter is a map where multibindings are allowed.
module String_multiple_map (V : Value_datatype) (_ : sig ... end) : Multiple_map with type key = string and type value = V.t and type t = V.t list Datatype.String.Map.tmodule Kernel_function_multiple_map (V : Value_datatype) (_ : sig ... end) : Multiple_map with type key = Cil_types.kernel_function and type value = V.t and type t = V.t list Cil_datatype.Kf.Map.tAs for Kernel_function_set, by default keys can only be defined functions. Use Parameter_customize.argument_may_be_fundecl to also include pure prototypes.
val parameters : unit -> Typed_parameter.t list