Debian Codegraph @

expander/expand_of_sexp.mli

raw symbols SCIP
1 open! Base
2 open! Ppxlib
3
4 module Sig_generate_of_sexp : sig
5 (** Given a type, produce the type of its [of_sexp] conversion. *)
6 val type_of_of_sexp : loc:location -> core_type -> core_type
7
8 (** Derive an [of_sexp] interface for a list of type declarations. *)
9 val mk_sig
10 : poly:bool
11 -> loc:location
12 -> path:string
13 -> rec_flag * type_declaration list
14 -> signature_item list
15 end
16
17 module Str_generate_of_sexp : sig
18 (** Given a type, produce its [of_sexp] conversion. *)
19 val core_type_of_sexp : path:string -> core_type -> expression
20
21 (** Derive an [of_sexp] implementation for a list of type declarations. *)
22 val tds_of_sexp
23 : loc:location
24 -> poly:bool
25 -> path:string
26 -> rec_flag * type_declaration list
27 -> structure_item list
28 end