Frama-C API - Open
Opens an internal tree module into an external one.
Parameters
module Data : Internal with type 'a structure := 'a Shape.structureSignature
val mem : 'a Shape.key -> boolTests whether a key belongs to the module.
For a key of type k key:
- if the values of type
tcontain a subpart of typekfrom a module identified by the key, thenget keyreturns an accessor for it. - otherwise,
get keyreturns None.
For a key of type k key:
- if the values of type
tcontain a subpart of typekfrom a module identified by the key, thenset key v treturns the valuetin which this subpart has been replaced byv. - otherwise,
set key _is the identity function.
Iterators on the components of a structure.
val iter : polymorphic_iter_fun -> Data.t -> unitval fold : 'b polymorphic_fold_fun -> Data.t -> 'b -> 'bval map : polymorphic_map_fun -> Data.t -> Data.t