Frama-C API - Lattice_Sum
Signature for a lattice over a sum type (see Abstract_interp.Make_Lattice_Sum
).
include AI_Lattice_with_cardinal_one with type t = sum
include Bounded_Join_Semi_Lattice with type t = sum
include Join_Semi_Lattice with type t = sum
datatype of element of the lattice
include Datatype.S with type t = sum
include Datatype.S_no_copy with type t = sum
val packed_descr : Structural_descr.pack
Packed version of the descriptor.
val reprs : t list
List of representants of the descriptor.
val hash : t -> int
Hash function: same spec than Hashtbl.hash
.
val pretty : Stdlib.Format.formatter -> t -> unit
Pretty print each value in an user-friendly way.
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
mem_project f x
must return true
iff there is a value p
of type Project.t
in x
such that f p
returns true
.
val bottom : t
smallest element
include With_Cardinal_One with type t := t
val cardinal_zero_or_one : t -> bool