package frama-c

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Usable emitters are the ones which can really emit something.

include Datatype.S_with_collections
include Datatype.S
include Datatype.S_no_copy
val name : string

Unique name of the datatype.

val descr : t Descr.t

Datatype descriptor.

val packed_descr : Structural_descr.pack

Packed version of the descriptor.

val reprs : t list

List of representants of the descriptor.

val equal : t -> t -> bool

Equality: same spec than Stdlib.(=).

val compare : t -> t -> int

Comparison: same spec than Stdlib.compare.

val hash : t -> int

Hash function: same spec than Hashtbl.hash.

val pretty : 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 copy : t -> t

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

module Set : Datatype.Set with type elt = t
module Map : Datatype.Map with type key = t
module Hashtbl : Datatype.Hashtbl with type key = t
val get : t -> emitter

Get the emitter from an usable emitter. Not so efficient.

  • since Oxygen-20120901
val get_name : t -> string
val get_unique_name : t -> string
val correctness_parameters : t -> string list
val tuning_parameters : t -> string list
val pretty_parameter : Format.formatter -> tuning:bool -> t -> string -> unit

Pretty print the parameter (given by its name) with its value.

  • raises Not_found

    if the parameter is not one of the given emitter

OCaml

Innovation. Community. Security.