Frama-C API - Builder
Signatures containing the different functors which may be used to generate new command line options.
module WithOutput (_ : sig ... end) : With_output
module Zero (_ : Input_with_arg) : Int
Parameter with an optional decimal point converted to an Ocaml float
module Empty_string (_ : Input_with_arg) : String
module Fc_Filepath = Filepath
module Make_site_dir (_ : Site_dir) (_ : sig ... end) : Site_dir
Builds 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_dir
Builds 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_opt
Builds 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.
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_set
module Filled_string_set (_ : sig ... end) : String_set
module Kernel_function_set (_ : Input_with_arg) : Kernel_function_set
module Fundec_set (_ : Input_with_arg) : Fundec_set
module String_list (_ : Input_with_arg) : String_list
module Filepath_list (_ : sig ... end) : Filepath_list
module Value_int : Value_datatype with type t = int
module Value_string : Value_datatype with type t = string
module Filepath_map (V : Value_datatype) (_ : sig ... end) : Map with type key = Fc_Filepath.Normalized.t and type value = V.t and type t = V.t Datatype.Filepath.Map.t
module 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.t
Parameter 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.t
module 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.t
As 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.t
Parameter 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.t
module 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.t
As 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