Frama-C API - generic_frama_c_visitor
Generic class that abstracts over frama_c_inplace
and frama_c_copy
.
inherit Frama_c_kernel.Cil.cilVisitor
method frama_c_plain_copy : frama_c_visitor
same as plain_copy_visitor but for frama-c specific methods
method vstmt_aux : Frama_c_kernel.Cil_types.stmt -> Frama_c_kernel.Cil_types.stmt Frama_c_kernel.Cil.visitAction
Replacement of vstmt.
method vglob_aux : Frama_c_kernel.Cil_types.global -> Frama_c_kernel.Cil_types.global list Frama_c_kernel.Cil.visitAction
Replacement of vglob.
method current_kf : Frama_c_kernel.Cil_types.kernel_function option
link to the kernel function currently being visited. NB: for copy visitors, the link is to the original kf (anyway, the new kf is created only after the visit is over).
method set_current_kf : Frama_c_kernel.Cil_types.kernel_function -> unit
Internal use only.