Release coccinelle-0.2.3rc1
[bpt/coccinelle.git] / parsing_cocci / visitor_ast0_types.ml
index 0e703d1..b9a812f 100644 (file)
@@ -1,23 +1,45 @@
 (*
-* Copyright 2005-2009, Ecole des Mines de Nantes, University of Copenhagen
-* Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller
-* This file is part of Coccinelle.
-* 
-* Coccinelle is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, according to version 2 of the License.
-* 
-* Coccinelle 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 General Public License for more details.
-* 
-* You should have received a copy of the GNU General Public License
-* along with Coccinelle.  If not, see <http://www.gnu.org/licenses/>.
-* 
-* The authors reserve the right to distribute this or future versions of
-* Coccinelle under other licenses.
-*)
+ * Copyright 2005-2010, Ecole des Mines de Nantes, University of Copenhagen
+ * Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller, Nicolas Palix
+ * This file is part of Coccinelle.
+ *
+ * Coccinelle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, according to version 2 of the License.
+ *
+ * Coccinelle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Coccinelle.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * The authors reserve the right to distribute this or future versions of
+ * Coccinelle under other licenses.
+ *)
+
+
+(*
+ * Copyright 2005-2010, Ecole des Mines de Nantes, University of Copenhagen
+ * Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller, Nicolas Palix
+ * This file is part of Coccinelle.
+ *
+ * Coccinelle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, according to version 2 of the License.
+ *
+ * Coccinelle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Coccinelle.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * The authors reserve the right to distribute this or future versions of
+ * Coccinelle under other licenses.
+ *)
 
 
 module Ast0 = Ast0_cocci
@@ -76,7 +98,7 @@ type ('mc,'n) flat_cmcode = 'mc Ast0.mcode -> 'n
 type ('cd,'n) ccode = 'n combiner_rec_functions -> ('cd -> 'n) -> 'cd -> 'n
 
 type 'n combiner_functions =
-  {combiner_meta_mcode : ((string*string),'n) cmcode;
+  {combiner_meta_mcode : (Ast.meta_name,'n) cmcode;
    combiner_string_mcode : (string,'n) cmcode;
    combiner_const_mcode : (Ast.constant,'n) cmcode;
    combiner_assign_mcode : (Ast.assignOp,'n) cmcode;
@@ -137,7 +159,7 @@ type 'cd rcode =
     rebuilder_rec_functions -> ('cd rebuilder_inout) -> 'cd rebuilder_inout
 
 type rebuilder_functions =
-  {rebuilder_meta_mcode : (string*string) rmcode;
+  {rebuilder_meta_mcode : Ast_cocci.meta_name rmcode;
    rebuilder_string_mcode : string rmcode;
    rebuilder_const_mcode : Ast.constant rmcode;
    rebuilder_assign_mcode : Ast.assignOp rmcode;
@@ -173,7 +195,7 @@ type ('cd,'a) rccode =
     'a all_functions -> ('cd -> ('a * 'cd)) -> 'cd -> ('a * 'cd)
 
 type 'n combiner_rebuilder_functions =
-  {combiner_rebuilder_meta_mcode : ((string*string),'n) rcmcode;
+  {combiner_rebuilder_meta_mcode : (Ast_cocci.meta_name,'n) rcmcode;
    combiner_rebuilder_string_mcode : (string,'n) rcmcode;
    combiner_rebuilder_const_mcode : (Ast.constant,'n) rcmcode;
    combiner_rebuilder_assign_mcode : (Ast.assignOp,'n) rcmcode;