Release coccinelle-0.2.0
[bpt/coccinelle.git] / engine / pretty_print_engine.mli
CommitLineData
9f8e26f4
C
1(*
2 * Copyright 2005-2009, Ecole des Mines de Nantes, University of Copenhagen
3 * Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller, Nicolas Palix
4 * This file is part of Coccinelle.
5 *
6 * Coccinelle is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, according to version 2 of the License.
9 *
10 * Coccinelle is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with Coccinelle. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * The authors reserve the right to distribute this or future versions of
19 * Coccinelle under other licenses.
20 *)
21
22
34e49164
C
23(* could be in pretty_print_c because dependent of ast_c but metavars
24 * are in ast_c for "bad" reason, so better put the pretty_print
25 * of metavars here
26 *)
27
28val pp_binding_kind : Ast_c.metavar_binding_kind -> unit
29val pp_binding : Ast_c.metavars_binding -> unit
30
31val pp_binding_kind2 : Lib_engine.metavar_binding_kind2 -> unit
32val pp_binding2_ctlsubst :
33 (Lib_engine.mvar, Lib_engine.metavar_binding_kind2)
34 Ast_ctl.generic_substitution ->
35 unit
36val pp_predicate : Lib_engine.predicate -> unit
37val predicate_to_string : Lib_engine.predicate -> string
38
39
40val pp_ctlcocci :
41 bool (* show_plus *) -> bool (* inline_let *) -> Lib_engine.ctlcocci -> unit
42