summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/camlp4/Camlp4/Struct/Camlp4Ast2OCamlAst.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/camlp4/Camlp4/Struct/Camlp4Ast2OCamlAst.mli')
-rw-r--r--ocaml-binary-annot/camlp4/Camlp4/Struct/Camlp4Ast2OCamlAst.mli32
1 files changed, 32 insertions, 0 deletions
diff --git a/ocaml-binary-annot/camlp4/Camlp4/Struct/Camlp4Ast2OCamlAst.mli b/ocaml-binary-annot/camlp4/Camlp4/Struct/Camlp4Ast2OCamlAst.mli
new file mode 100644
index 0000000000..6c28483323
--- /dev/null
+++ b/ocaml-binary-annot/camlp4/Camlp4/Struct/Camlp4Ast2OCamlAst.mli
@@ -0,0 +1,32 @@
+(* camlp4r *)
+(****************************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* INRIA Rocquencourt *)
+(* *)
+(* Copyright 2002-2006 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed under *)
+(* the terms of the GNU Library General Public License, with the special *)
+(* exception on linking described in LICENSE at the top of the Objective *)
+(* Caml source tree. *)
+(* *)
+(****************************************************************************)
+
+(* Authors:
+ * - Daniel de Rauglaudre: initial version
+ * - Nicolas Pouillard: refactoring
+ *)
+
+
+
+module Make (Camlp4Ast : Sig.Camlp4Ast) : sig
+ open Camlp4Ast;
+
+ (** {6 Useful functions} *)
+
+ value sig_item : sig_item -> Camlp4_import.Parsetree.signature;
+ value str_item : str_item -> Camlp4_import.Parsetree.structure;
+ value phrase : str_item -> Camlp4_import.Parsetree.toplevel_phrase;
+
+end;