1Pprintast(3)                     OCaml library                    Pprintast(3)
2
3
4

NAME

6       Pprintast - Pretty-printers for Parsetree
7

Module

9       Module   Pprintast
10

Documentation

12       Module Pprintast
13        : sig end
14
15
16       Pretty-printers for Parsetree
17
18       Warning: this module is unstable and part of Compiler_libs .
19
20
21
22
23
24       type space_formatter = (unit, Format.formatter, unit) format
25
26
27
28
29
30       val longident : Format.formatter -> Longident.t -> unit
31
32
33
34
35       val expression : Format.formatter -> Parsetree.expression -> unit
36
37
38
39
40       val string_of_expression : Parsetree.expression -> string
41
42
43
44
45       val pattern : Format.formatter -> Parsetree.pattern -> unit
46
47
48
49
50       val core_type : Format.formatter -> Parsetree.core_type -> unit
51
52
53
54
55       val signature : Format.formatter -> Parsetree.signature -> unit
56
57
58
59
60       val structure : Format.formatter -> Parsetree.structure -> unit
61
62
63
64
65       val string_of_structure : Parsetree.structure -> string
66
67
68
69
70       val module_expr : Format.formatter -> Parsetree.module_expr -> unit
71
72
73
74
75       val  toplevel_phrase : Format.formatter -> Parsetree.toplevel_phrase ->
76       unit
77
78
79
80
81       val top_phrase : Format.formatter -> Parsetree.toplevel_phrase -> unit
82
83
84
85
86       val class_field : Format.formatter -> Parsetree.class_field -> unit
87
88
89
90
91       val class_type_field : Format.formatter  ->  Parsetree.class_type_field
92       -> unit
93
94
95
96
97       val class_expr : Format.formatter -> Parsetree.class_expr -> unit
98
99
100
101
102       val class_type : Format.formatter -> Parsetree.class_type -> unit
103
104
105
106
107       val module_type : Format.formatter -> Parsetree.module_type -> unit
108
109
110
111
112       val  structure_item  :  Format.formatter -> Parsetree.structure_item ->
113       unit
114
115
116
117
118       val signature_item : Format.formatter  ->  Parsetree.signature_item  ->
119       unit
120
121
122
123
124       val binding : Format.formatter -> Parsetree.value_binding -> unit
125
126
127
128
129       val payload : Format.formatter -> Parsetree.payload -> unit
130
131
132
133
134       val tyvar : Format.formatter -> string -> unit
135
136       Print  a  type  variable name, taking care of the special treatment re‐
137       quired for the single quote character in second position.
138
139
140
141
142
143OCamldoc                          2023-01-23                      Pprintast(3)
Impressum