Frama-C:
Plug-ins:
Libraries:

Frama-C API - AlarmOrProp

include Frama_c_kernel.Datatype.S_no_copy with type t := alarm_or_property
val datatype_name : string

Unique name of the datatype.

Datatype descriptor.

Packed version of the descriptor.

val reprs : alarm_or_property list

List of representants of the descriptor.

val compare : alarm_or_property -> alarm_or_property -> int

Comparison: same spec than Stdlib.compare.

val hash : alarm_or_property -> int

Hash function: same spec than Hashtbl.hash.

val pretty : Stdlib.Format.formatter -> alarm_or_property -> unit

Pretty print each value in an user-friendly way.

val mem_project : (Frama_c_kernel.Project_skeleton.t -> bool) -> alarm_or_property -> 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.

Deep copy: no possible sharing between x and copy x.