From a5f03d96eee482cd84861fc8cefff9eb451c0cad Mon Sep 17 00:00:00 2001 From: xleroy Date: Sun, 29 Mar 2009 09:47:11 +0000 Subject: Cleaned up configure script. Distribution of CIL as an expanded source tree with changes applied (instead of original .tar.gz + patches to be applied at config time). git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1020 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- cil/doc/api/Formatcil.html | 84 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 cil/doc/api/Formatcil.html (limited to 'cil/doc/api/Formatcil.html') diff --git a/cil/doc/api/Formatcil.html b/cil/doc/api/Formatcil.html new file mode 100644 index 00000000..8dee76d7 --- /dev/null +++ b/cil/doc/api/Formatcil.html @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +CIL API Documentation (version 1.3.5) : Formatcil + + + +

Module Formatcil

+
+
module Formatcil: sig .. end
An Interpreter for constructing CIL constructs
+
+
val cExp : string -> (string * Cil.formatArg) list -> Cil.exp
+Constructs an expression based on the program and the list of arguments. + Each argument consists of a name followed by the actual data. This + argument will be placed instead of occurrences of "%v:name" in the pattern + (where the "v" is dependent on the type of the data). The parsing of the + string is memoized. * Only the first expression is parsed.
+
+
val cLval : string -> (string * Cil.formatArg) list -> Cil.lval
+Constructs an lval based on the program and the list of arguments. + Only the first lvalue is parsed. + The parsing of the string is memoized.
+
+
val cType : string -> (string * Cil.formatArg) list -> Cil.typ
+Constructs a type based on the program and the list of arguments. + Only the first type is parsed. + The parsing of the string is memoized.
+
+
val cInstr : string -> Cil.location -> (string * Cil.formatArg) list -> Cil.instr
+Constructs an instruction based on the program and the list of arguments. + Only the first instruction is parsed. + The parsing of the string is memoized.
+
+
val cStmt : string ->
(string -> Cil.typ -> Cil.varinfo) ->
Cil.location -> (string * Cil.formatArg) list -> Cil.stmt
val cStmts : string ->
(string -> Cil.typ -> Cil.varinfo) ->
Cil.location -> (string * Cil.formatArg) list -> Cil.stmt list
+Constructs a list of statements
+
+
val dExp : string -> Cil.exp -> Cil.formatArg list option
+Deconstructs an expression based on the program. Produces an optional + list of format arguments. The parsing of the string is memoized.
+
+
val dLval : string -> Cil.lval -> Cil.formatArg list option
+Deconstructs an lval based on the program. Produces an optional + list of format arguments. The parsing of the string is memoized.
+
+
val dType : string -> Cil.typ -> Cil.formatArg list option
+Deconstructs a type based on the program. Produces an optional list of + format arguments. The parsing of the string is memoized.
+
+
val dInstr : string -> Cil.instr -> Cil.formatArg list option
+Deconstructs an instruction based on the program. Produces an optional + list of format arguments. The parsing of the string is memoized.
+
+
val noMemoize : bool Pervasives.ref
+If set then will not memoize the parsed patterns
+
+
val test : unit -> unit
+Just a testing function
+
+ \ No newline at end of file -- cgit