package ppx_make

  1. Overview
  2. Docs
module P = Ppxlib
module Ast_helper = Ppxlib.Ast_helper
val core_type_of_name : ?params:Astlib.Ast_500.Parsetree.core_type list -> string P.loc -> Astlib.Ast_500.Parsetree.core_type
val is_core_type_option : P.core_type -> bool
val is_core_type_list : P.core_type -> bool
val is_core_type_array : P.core_type -> bool
val is_core_type_string : P.core_type -> bool
val is_core_type_optional : P.core_type -> bool
val strip_option : P.core_type -> P.core_type
val default_expression_of_core_type : loc:P.location -> P.core_type -> Ppxlib_ast.Ast.expression option
type attr_type =
  1. | No_attr
  2. | Main
  3. | Required
  4. | Default of P.expression
val get_attributes : P.attribute list -> attr_type
val unsupported_error : string -> string P.loc -> 'a
val make_type_decl_generator : (loc:Ppxlib.Location.t -> 'a -> 'b -> 'c list) -> ('c list, 'd * 'b list) Ppxlib__Deriving.Generator.t
val gen_make_name : string P.loc -> string P.loc
val gen_make_choice_name : string P.loc -> string P.loc -> string P.loc
val gen_tuple_label_string : int -> string
val longident_loc_of_name : string P.loc -> P.longident P.loc
val params_core_type_of_type_decl : loc:'a -> P.type_declaration -> P.core_type list
OCaml

Innovation. Community. Security.