]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/grafite/grafiteAstPp.mli
abstracted pretty printers over inner pretty printing units (terms, lazy terms, and...
[helm.git] / helm / ocaml / grafite / grafiteAstPp.mli
1 (* Copyright (C) 2004, HELM Team.
2  * 
3  * This file is part of HELM, an Hypertextual, Electronic
4  * Library of Mathematics, developed at the Computer Science
5  * Department, University of Bologna, Italy.
6  * 
7  * HELM is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  * 
12  * HELM is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with HELM; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20  * MA  02111-1307, USA.
21  * 
22  * For details, see the HELM World-Wide-Web page,
23  * http://helm.cs.unibo.it/
24  *)
25
26 val pp_tactic:
27   term_pp:('term -> string) ->
28   lazy_term_pp:('lazy_term -> string) ->
29   ('term, 'lazy_term, 'term GrafiteAst.reduction, string)
30   GrafiteAst.tactic ->
31     string
32
33 val pp_tactic_pattern:
34   term_pp:('term -> string) ->
35   lazy_term_pp:('lazy_term -> string) ->
36   ('term, 'lazy_term, string) GrafiteAst.pattern ->
37     string
38
39 val pp_reduction_kind:
40   term_pp:('a -> string) ->
41   'a GrafiteAst.reduction ->
42     string
43
44 val pp_command: obj_pp:('obj -> string) -> 'obj GrafiteAst.command -> string
45 val pp_macro: term_pp:('term -> string) -> 'term GrafiteAst.macro -> string
46 val pp_alias: GrafiteAst.alias_spec -> string
47 val pp_dependency:  GrafiteAst.dependency -> string
48
49 val pp_comment:
50   term_pp:('term -> string) ->
51   lazy_term_pp:('lazy_term -> string) ->
52   obj_pp:('obj -> string) ->
53   ('term, 'lazy_term, 'term GrafiteAst.reduction, 'obj, string)
54   GrafiteAst.comment ->
55     string
56
57 val pp_executable:
58   term_pp:('term -> string) ->
59   lazy_term_pp:('lazy_term -> string) ->
60   obj_pp:('obj -> string) ->
61   ('term, 'lazy_term, 'term GrafiteAst.reduction, 'obj, string)
62   GrafiteAst.code ->
63     string
64
65 val pp_statement:
66   term_pp:('term -> string) ->
67   lazy_term_pp:('lazy_term -> string) ->
68   obj_pp:('obj -> string) ->
69   ('term, 'lazy_term, 'term GrafiteAst.reduction, 'obj, string)
70   GrafiteAst.statement ->
71     string
72
73 val pp_tactical:
74   term_pp:('term -> string) ->
75   lazy_term_pp:('lazy_term -> string) ->
76   ('term, 'lazy_term, 'term GrafiteAst.reduction, string)
77   GrafiteAst.tactical ->
78     string
79