Cpp.PrintingPretty-printing of the C++ type
val pp_type_ : type_ Fmt.tval pp_type_trait :
Stdlib.Format.formatter ->
(identifier * type_ list) ->
unitval pp_template :
default:bool ->
Stdlib.Format.formatter ->
template_parameter list ->
unitPretty print a list of templates as template <parameter-list>.name This function pools together RequireAllCondition nodes into a require_all_t
val pp_operator : Stdlib.Format.formatter -> operator -> unitval pp_expr : expr Fmt.tval pp_variable_defn : Stdlib.Format.formatter -> variable_defn -> unitval pp_stmt : stmt Fmt.tval pp_with_block :
?indent:int ->
unit Fmt.t ->
Stdlib.Format.formatter ->
stmt ->
unitWhen we know a block is here, we can do better pretty-printing
val pp_cv : Stdlib.Format.formatter -> cv_qualifiers -> unitval pp_fun_defn : Stdlib.Format.formatter -> fun_defn -> unitval pp_destructor : Stdlib.Format.formatter -> (string * stmt list) -> unitval pp_constructor : Stdlib.Format.formatter -> (string * constructor) -> unitval pp_directive : Stdlib.Format.formatter -> directive -> unitval pp_class_defn : Stdlib.Format.formatter -> class_defn -> unitval pp_struct_defn : Stdlib.Format.formatter -> struct_defn -> unitval pp_defn : defn Fmt.tval pp_program : defn list Fmt.t