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  toplevel_phrase : Format.formatter -> Parsetree.toplevel_phrase ->
71       unit
72
73
74
75
76       val top_phrase : Format.formatter -> Parsetree.toplevel_phrase -> unit
77
78
79
80
81       val tyvar : Format.formatter -> string -> unit
82
83       Print a type variable  name,  taking  care  of  the  special  treatment
84       required for the single quote character in second position.
85
86
87
88
89
90OCamldoc                          2020-02-27                      Pprintast(3)
Impressum