X-Git-Url: http://git.hcoop.net/bpt/coccinelle.git/blobdiff_plain/7f00441914f5b9bd4f845a1c866da65e1946083e..17ba07880e1838028b4516ba7a2db2147b3aa1c9:/ctl/wrapper_ctl.mli diff --git a/ctl/wrapper_ctl.mli b/ctl/wrapper_ctl.mli index 62319da..b33021a 100644 --- a/ctl/wrapper_ctl.mli +++ b/ctl/wrapper_ctl.mli @@ -1,6 +1,32 @@ +(* + * Copyright 2012, INRIA + * Julia Lawall, Gilles Muller + * Copyright 2010-2011, INRIA, University of Copenhagen + * Julia Lawall, Rene Rydhof Hansen, Gilles Muller, Nicolas Palix + * Copyright 2005-2009, 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 . + * + * The authors reserve the right to distribute this or future versions of + * Coccinelle under other licenses. + *) + + type info = int -type ('pred, 'mvar) wrapped_ctl = +type ('pred, 'mvar) wrapped_ctl = ('pred * 'mvar Ast_ctl.modif, 'mvar, info) Ast_ctl.generic_ctl type ('a, 'b) wrapped_binding = @@ -8,7 +34,7 @@ type ('a, 'b) wrapped_binding = | PredVal of 'b Ast_ctl.modif type ('pred,'state,'mvar,'value) labelfunc = - 'pred -> + 'pred -> ('state * ('pred * ('mvar, 'value) Ast_ctl.generic_substitution)) list module CTL_ENGINE_BIS : @@ -51,7 +77,7 @@ module CTL_ENGINE_BIS : val satbis : G.cfg * (predicate,G.node,SUB.mvar,SUB.value) labelfunc * - G.node list -> + G.node list -> ((predicate,SUB.mvar) wrapped_ctl * (WRAPPER_PRED.t list list)) -> (WRAPPER_ENV.mvar list * (SUB.mvar * SUB.value) list) ->