Frama-C API - Local
include S with type t = local
include Frama_c_kernel.Datatype.S_with_collections with type t = local
include Frama_c_kernel.Datatype.S with type t = local
include Frama_c_kernel.Datatype.S_no_copy with type t = local
include Frama_c_kernel.Datatype.Ty with type t = local
type t = localval ty : t Frama_c_kernel.Type.tval datatype_descr : t Frama_c_kernel.Descr.tDatatype descriptor.
val packed_descr : Frama_c_kernel.Structural_descr.packPacked version of the descriptor.
val reprs : t listList of representants of the descriptor.
val hash : t -> intHash function: same spec than Hashtbl.hash.
val pretty : Stdlib.Format.formatter -> t -> unitPretty print each value in an user-friendly way.
val mem_project : (Frama_c_kernel.Project_skeleton.t -> bool) -> t -> boolmem_project f x must return true iff there is a value p of type Project.t in x such that f p returns true.
module Set : Frama_c_kernel.Datatype.Set with type elt = tmodule Map : Frama_c_kernel.Datatype.Map with type key = tmodule Hashtbl : Frama_c_kernel.Datatype.Hashtbl with type key = tval loc : t -> Frama_c_kernel.Cil_types.locationloc p returns the source location of the given position.
val pos : t -> Frama_c_kernel.Filepath.positionpos p returns the source file of the given position.
val kinstr : t -> Frama_c_kernel.Cil_types.kinstrkinstr p returns the kinstr associated to the position.
val pretty_loc : Stdlib.Format.formatter -> t -> unitPretty-print the position as a location in a source file. In the case of a local position, the short callstack leading to that position is also printed.
val kf : t -> Frama_c_kernel.Cil_types.kernel_functionkf aloc returns the kernel function of a local position.
val stmt : t -> Frama_c_kernel.Cil_types.stmtstmt aloc returns the stmt of a local position.
val callstack : t -> Callstack.tcallstack aloc returns the callstack of a local position.
