package ppx_deriving_qcheck

  1. Overview
  2. Docs

Module to provide pretty-printer and to_str function for Ppxlib.Ast types

val type_decl_to_str : Ppxlib.type_declaration -> string

Type_declaration to string

val type_cstr_to_str : (Ppxlib.core_type * Ppxlib.core_type * Ppxlib.location) -> string

Cstr to string

val type_cstrs_to_str : (Ppxlib.core_type * Ppxlib.core_type * Ppxlib.location) list -> string

Cstrs to string

val type_param_to_str : (Ppxlib.core_type * (Ppxlib.variance * Ppxlib.injectivity)) -> string

Param to string

val type_params_to_str : (Ppxlib.core_type * (Ppxlib.variance * Ppxlib.injectivity)) list -> string

Params to string

val variance_to_str : Ppxlib.variance -> string

Variance to string

val injectivity_to_str : Ppxlib.injectivity -> string

Injectivity_to_str to string

val core_type_to_str : Ppxlib.core_type -> string

Core_type to string

val core_types_to_str : Ppxlib.core_type list -> string

Core_types to string

val type_kind_to_str : Ppxlib.type_kind -> string

Type kind to string

val label_declaration_to_str : Ppxlib.label_declaration -> string

Label_declaration to string

val constr_declaration_to_str : Ppxlib.constructor_declaration -> string

Constructor declaration to string

val constr_declarations_to_str : Ppxlib.constructor_declaration list -> string

Constructor declarations to string

val constr_args_to_str : Ppxlib.constructor_arguments -> string

Constructor argument

val attribute_to_str : Ppxlib.attribute -> string

Attribute to string

val attributes_to_str : Ppxlib.attributes -> string

Attributes to string

val manifest_to_str : Ppxlib.core_type option -> string

Manifest to string

val longident_to_str : Ppxlib.longident -> string

Longident to string

val private_to_str : Ppxlib.private_flag -> string

Private flag to string

val print_type_decl : Ppxlib.type_declaration -> unit

Print type_declaration

OCaml

Innovation. Community. Security.