package frama-c

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

Set operations on behaviors related to original representatives, allows to change the reference of an element of the new AST in the current state of the visitor. Use with care.

Set.ast_element vis e s with e and s of type ast_element changes the original representative of e to s in vis. For example, for Cil_types.varinfo: Set_orig.varinfo vis vi new_original_repr.

  • since 20.0-Calcium
val varinfo : t -> Cil_types.varinfo -> Cil_types.varinfo -> unit
val compinfo : t -> Cil_types.compinfo -> Cil_types.compinfo -> unit
val enuminfo : t -> Cil_types.enuminfo -> Cil_types.enuminfo -> unit
val enumitem : t -> Cil_types.enumitem -> Cil_types.enumitem -> unit
val typeinfo : t -> Cil_types.typeinfo -> Cil_types.typeinfo -> unit
val stmt : t -> Cil_types.stmt -> Cil_types.stmt -> unit
val logic_info : t -> Cil_types.logic_info -> Cil_types.logic_info -> unit
val logic_type_info : t -> Cil_types.logic_type_info -> Cil_types.logic_type_info -> unit
val fieldinfo : t -> Cil_types.fieldinfo -> Cil_types.fieldinfo -> unit
val model_info : t -> Cil_types.model_info -> Cil_types.model_info -> unit
val logic_var : t -> Cil_types.logic_var -> Cil_types.logic_var -> unit
val kernel_function : t -> Cil_types.kernel_function -> Cil_types.kernel_function -> unit
val fundec : t -> Cil_types.fundec -> Cil_types.fundec -> unit