Frama-C API - Context
Contextual Values
val create : ?default:'a -> string -> 'a valueCreates a new context with name
val defined : 'a value -> boolThe current value is defined.
val get : 'a value -> 'aRetrieves the current value of the context. Raise an exception if not bound.
val get_opt : 'a value -> 'a optionRetrieves the current value of the context. Return None if not bound.
val set : 'a value -> 'a -> unitDefine the current value. Previous one is lost
val update : 'a value -> ('a -> 'a) -> unitModification of the current value
val bind : 'a value -> 'a -> ('b -> 'c) -> 'b -> 'cPerforms the job with local context bound to local value.
val free : 'a value -> ('b -> 'c) -> 'b -> 'cPerforms the job with local context cleared.
val clear : 'a value -> unitClear the current value.
val push : 'a value -> 'a -> 'a optionval pop : 'a value -> 'a option -> unitval name : 'a value -> stringRegister a global configure, to be executed once per project/ast.
