Skip to content
Snippets Groups Projects
literal_strings.mli 1.91 KiB
Newer Older
(**************************************************************************)
(*                                                                        *)
(*  This file is part of the Frama-C's E-ACSL plug-in.                    *)
(*                                                                        *)
Julien Signoles's avatar
Julien Signoles committed
(*  Copyright (C) 2012-2016                                               *)
(*    CEA (Commissariat à l'énergie atomique et aux énergies              *)
(*         alternatives)                                                  *)
(*                                                                        *)
(*  you can redistribute it and/or modify it under the terms of the GNU   *)
(*  Lesser General Public License as published by the Free Software       *)
(*  Foundation, version 2.1.                                              *)
(*                                                                        *)
(*  It is distributed in the hope that it will be useful,                 *)
(*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *)
(*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *)
(*  GNU Lesser General Public License for more details.                   *)
(*                                                                        *)
(*  See the GNU Lesser General Public License version 2.1                 *)
(*  for more details (enclosed in the file license/LGPLv2.1).             *)
(*                                                                        *)
(**************************************************************************)

(** Associate literal strings to fresh varinfo. *)

open Cil_types

val reset: unit -> unit
(** Must be called to redo the analysis *)

val is_empty: unit -> bool

val add: string -> varinfo -> unit
val find: string -> varinfo

val fold: (string -> varinfo -> 'a -> 'a) -> 'a -> 'a

(*
Local Variables:
compile-command: "make"
End:
*)