Class Camlp4.Printers.OCamlr.Make.printer


class printer : ?curry_constr:bool -> ?comments:bool -> unit -> object .. end
Inherits
val semisep : PP_o.sep
val mode : [> `comments | `no_comments ]
val curry_constr : bool
val first_match_case : bool
method andsep : PP_o.sep
method value_val : string
method value_let : string
method under_pipe : < andsep : PP_o.sep;
anti : Format.formatter -> string -> unit;
apply_expr : Format.formatter ->
PP_o.Ast.expr -> unit;
binding : Format.formatter ->
PP_o.Ast.binding -> unit;
class_declaration : Format.formatter ->
PP_o.Ast.class_expr -> unit;
class_expr : Format.formatter ->
PP_o.Ast.class_expr -> unit;
class_params : Format.formatter ->
PP_o.Ast.ctyp -> unit;
class_sig_item : Format.formatter ->
PP_o.Ast.class_sig_item ->
unit;
class_str_item : Format.formatter ->
PP_o.Ast.class_str_item ->
unit;
class_type : Format.formatter ->
PP_o.Ast.class_type -> unit;
constrain : Format.formatter ->
PP_o.Ast.ctyp *
PP_o.Ast.ctyp -> unit;
constructor_type : Format.formatter ->
PP_o.Ast.ctyp -> unit;
ctyp : Format.formatter ->
PP_o.Ast.ctyp -> unit;
ctyp1 : Format.formatter ->
PP_o.Ast.ctyp -> unit;
direction_flag : Format.formatter ->
PP_o.Ast.direction_flag ->
unit;
dot_expr : Format.formatter ->
PP_o.Ast.expr -> unit;
expr : Format.formatter ->
PP_o.Ast.expr -> unit;
expr_list : Format.formatter ->
PP_o.Ast.expr list -> unit;
expr_list_cons : bool ->
Format.formatter ->
PP_o.Ast.expr -> unit;
fun_binding : Format.formatter ->
PP_o.fun_binding -> unit;
functor_arg : Format.formatter ->
string * PP_o.Ast.module_type ->
unit;
functor_args : Format.formatter ->
(string * PP_o.Ast.module_type)
list -> unit;
ident : Format.formatter ->
PP_o.Ast.ident -> unit;
implem : Format.formatter ->
PP_o.Ast.str_item -> unit;
interf : Format.formatter ->
PP_o.Ast.sig_item -> unit;
match_case : Format.formatter ->
PP_o.Ast.match_case -> unit;
match_case_aux : Format.formatter ->
PP_o.Ast.match_case -> unit;
mk_expr_list : PP_o.Ast.expr ->
PP_o.Ast.expr list *
PP_o.Ast.expr option;
mk_patt_list : PP_o.Ast.patt ->
PP_o.Ast.patt list *
PP_o.Ast.patt option;
module_expr : Format.formatter ->
PP_o.Ast.module_expr -> unit;
module_expr_get_functor_args : (string *
PP_o.Ast.module_type)
list ->
PP_o.Ast.module_expr ->
(string *
PP_o.Ast.module_type)
list *
PP_o.Ast.module_expr *
PP_o.Ast.module_type
option;
module_rec_binding : Format.formatter ->
PP_o.Ast.module_binding ->
unit;
module_type : Format.formatter ->
PP_o.Ast.module_type -> unit;
mutable_flag : Format.formatter ->
PP_o.Ast.mutable_flag -> unit;
node : 'b.
Format.formatter ->
'b -> ('b -> PP_o.Loc.t) -> unit;
numeric : Format.formatter -> string -> string -> unit;
override_flag : Format.formatter ->
PP_o.Ast.override_flag -> unit;
patt : Format.formatter ->
PP_o.Ast.patt -> unit;
patt1 : Format.formatter ->
PP_o.Ast.patt -> unit;
patt2 : Format.formatter ->
PP_o.Ast.patt -> unit;
patt3 : Format.formatter ->
PP_o.Ast.patt -> unit;
patt4 : Format.formatter ->
PP_o.Ast.patt -> unit;
patt5 : Format.formatter ->
PP_o.Ast.patt -> unit;
patt_class_expr_fun_args : Format.formatter ->
PP_o.Ast.patt *
PP_o.Ast.class_expr ->
unit;
patt_expr_fun_args : Format.formatter ->
PP_o.fun_binding *
PP_o.Ast.expr -> unit;
patt_tycon : Format.formatter ->
PP_o.Ast.patt -> unit;
print_comments_before : PP_o.Loc.t ->
Format.formatter -> unit;
private_flag : Format.formatter ->
PP_o.Ast.private_flag -> unit;
quoted_string : Format.formatter -> string -> unit;
raise_match_failure : Format.formatter ->
PP_o.Loc.t -> unit;
rec_flag : Format.formatter ->
PP_o.Ast.rec_flag -> unit;
record_binding : Format.formatter ->
PP_o.Ast.rec_binding -> unit;
reset : 'a; reset_semi : 'a;
semisep : PP_o.sep;
seq : Format.formatter -> PP_o.Ast.expr -> unit;
set_comments : bool -> 'a; set_curry_constr : bool -> 'a;
set_loc_and_comments : 'a;
set_semisep : PP_o.sep -> 'a;
sig_item : Format.formatter ->
PP_o.Ast.sig_item -> unit;
simple_ctyp : Format.formatter ->
PP_o.Ast.ctyp -> unit;
simple_expr : Format.formatter ->
PP_o.Ast.expr -> unit;
simple_module_expr : Format.formatter ->
PP_o.Ast.module_expr ->
unit;
simple_patt : Format.formatter ->
PP_o.Ast.patt -> unit;
str_item : Format.formatter ->
PP_o.Ast.str_item -> unit;
string : Format.formatter -> string -> unit;
sum_type : Format.formatter ->
PP_o.Ast.ctyp -> unit;
type_params : Format.formatter ->
PP_o.Ast.ctyp list -> unit;
under_pipe : 'a; under_semi : 'a; value_let : string; value_val : string;
var : Format.formatter -> string -> unit;
virtual_flag : Format.formatter ->
PP_o.Ast.virtual_flag -> unit;
with_constraint : Format.formatter ->
PP_o.Ast.with_constr -> unit;
.. >
as 'a
method under_semi : 'a
method reset_semi : 'a
method reset : 'a
method private unset_first_match_case : 'a
method private set_first_match_case : 'a
method seq : Format.formatter -> PP_o.Ast.expr -> unit
method var : Format.formatter -> string -> unit
method type_params : Format.formatter -> PP_o.Ast.ctyp list -> unit
method match_case : Format.formatter -> PP_o.Ast.match_case -> unit
method match_case_aux : Format.formatter -> PP_o.Ast.match_case -> unit
method sum_type : Format.formatter -> PP_o.Ast.ctyp -> unit
method ident : Format.formatter -> PP_o.Ast.ident -> unit
method private dot_ident : Format.formatter -> PP_o.Ast.ident -> unit
method patt4 : Format.formatter -> PP_o.Ast.patt -> unit
method expr_list_cons : bool -> Format.formatter -> PP_o.Ast.expr -> unit
method expr : Format.formatter -> PP_o.Ast.expr -> unit
method dot_expr : Format.formatter -> PP_o.Ast.expr -> unit
method ctyp : Format.formatter -> PP_o.Ast.ctyp -> unit
method simple_ctyp : Format.formatter -> PP_o.Ast.ctyp -> unit
method ctyp1 : Format.formatter -> PP_o.Ast.ctyp -> unit
method constructor_type : Format.formatter -> PP_o.Ast.ctyp -> unit
method str_item : Format.formatter -> PP_o.Ast.str_item -> unit
method module_expr : Format.formatter -> PP_o.Ast.module_expr -> unit
method simple_module_expr : Format.formatter -> PP_o.Ast.module_expr -> unit
method implem : Format.formatter -> PP_o.Ast.str_item -> unit
method class_type : Format.formatter -> PP_o.Ast.class_type -> unit
method class_expr : Format.formatter -> PP_o.Ast.class_expr -> unit