module Vars:sig
..end
Ast.compute
).val find : Cil_types.varinfo -> Cil_types.initinfo
val find_from_astinfo : string -> Cil_types.localisation -> Cil_types.varinfo
vname
according to its localisation (which
might be a local). If you wish to search for a symbol according to its
original name in the source code and the syntactic scope in which
it should appear, use Globals.Syntactic_search
instead.Not_found
if no such variable exists.val get_astinfo : Cil_types.varinfo -> string * Cil_types.localisation
val iter : (Cil_types.varinfo -> Cil_types.initinfo -> unit) -> unit
val fold : (Cil_types.varinfo -> Cil_types.initinfo -> 'a -> 'a) -> 'a -> 'a
val iter_in_file_order : (Cil_types.varinfo -> Cil_types.initinfo -> unit) -> unit
val fold_in_file_order : (Cil_types.varinfo -> Cil_types.initinfo -> 'a -> 'a) -> 'a -> 'a
val iter_in_file_rev_order : (Cil_types.varinfo -> Cil_types.initinfo -> unit) -> unit
val fold_in_file_rev_order : (Cil_types.varinfo -> Cil_types.initinfo -> 'a -> 'a) -> 'a -> 'a
Functions of this section should not be called by casual users.
exception AlreadyExists of Cil_types.varinfo * Cil_types.initinfo
val add : Cil_types.varinfo -> Cil_types.initinfo -> unit
AlreadyExists
if the given varinfo is already registered.val remove : Cil_types.varinfo -> unit
val add_decl : Cil_types.varinfo -> unit
AlreadyExists
if the given varinfo is already registered.val self : State.t