Skip to main content
Module C2Codex.VarMap
type key = Frama_c_kernel.Cil_datatype.Varinfo.ttype !'a t = 'a Extstdlib.Map.Make(Frama_c_kernel.Cil_datatype.Varinfo).tval is_empty : 'a t -> boolval mem : key -> 'a t -> boolval add : key -> 'a -> 'a t -> 'a tval update : key -> ('a option -> 'a option) -> 'a t -> 'a tval singleton : key -> 'a -> 'a tval remove : key -> 'a t -> 'a tval merge :
(key -> 'a option -> 'b option -> 'c option) ->
'a t ->
'b t ->
'c tval union : (key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a tval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> intval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval iter : (key -> 'a -> unit) -> 'a t -> unitval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'bval for_all : (key -> 'a -> bool) -> 'a t -> boolval exists : (key -> 'a -> bool) -> 'a t -> boolval filter : (key -> 'a -> bool) -> 'a t -> 'a tval filter_map : (key -> 'a -> 'b option) -> 'a t -> 'b tval partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a tval cardinal : 'a t -> intval bindings : 'a t -> (key * 'a) listval min_binding : 'a t -> key * 'aval min_binding_opt : 'a t -> (key * 'a) optionval max_binding : 'a t -> key * 'aval max_binding_opt : 'a t -> (key * 'a) optionval choose : 'a t -> key * 'aval choose_opt : 'a t -> (key * 'a) optionval split : key -> 'a t -> 'a t * 'a option * 'a tval find : key -> 'a t -> 'aval find_opt : key -> 'a t -> 'a optionval find_first : (key -> bool) -> 'a t -> key * 'aval find_first_opt : (key -> bool) -> 'a t -> (key * 'a) optionval find_last : (key -> bool) -> 'a t -> key * 'aval find_last_opt : (key -> bool) -> 'a t -> (key * 'a) optionval map : ('a -> 'b) -> 'a t -> 'b tval mapi : (key -> 'a -> 'b) -> 'a t -> 'b tval to_seq : 'a t -> (key * 'a) Stdlib.Seq.tval to_rev_seq : 'a t -> (key * 'a) Stdlib.Seq.tval to_seq_from : key -> 'a t -> (key * 'a) Stdlib.Seq.tval add_seq : (key * 'a) Stdlib.Seq.t -> 'a t -> 'a tval of_seq : (key * 'a) Stdlib.Seq.t -> 'a tval is_singleton : 'a t -> (key * 'a) optionval is_inter_empty : 'a t -> 'b t -> boolval mk_pretty :
(Stdlib.Format.formatter -> key -> unit) ->
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unitval for_all2 : (key -> 'a option -> 'a option -> bool) -> 'a t -> 'a t -> boolval fold2 :
'a t ->
'b t ->
'c ->
(key -> 'a option -> 'b option -> 'c -> 'c) ->
'cval fold_on_diff2 :
'a t ->
'a t ->
'c ->
(key -> 'a option -> 'a option -> 'c -> 'c) ->
'cval fold3 :
'a t ->
'b t ->
'c t ->
'd ->
(key -> 'a option -> 'b option -> 'c option -> 'd -> 'd) ->
'dval fold_on_diff3 :
'a t ->
'a t ->
'a t ->
'd ->
(key -> 'a option -> 'a option -> 'a option -> 'd -> 'd) ->
'd