module Kernel_function_map:functor (
V
:
Parameter_sig.Value_datatype
with type key = Cil_types.kernel_function
) ->
functor (
X
:
sig
include Parameter_sig.Input_with_arg
val default :V.t Cil_datatype.Kf.Map.t
end
) ->
Parameter_sig.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.
Parameters: |
|
type
key
Type of keys of the map.
type
value
Type of the values associated to the keys.
include Parameter_sig.Collection
A map is a collection in which elements are pairs (key, value)
, but some
values may be missing.
val find : key -> value
Search a given key in the map.
Not_found
if there is no such key in the map.val mem : key -> bool