Debian Codegraph @

expander/ppx_sexp_conv_expander.mli

raw symbols SCIP
1 open Ppxlib
2 module Attrs = Attrs
3 module Record_field_attrs = Record_field_attrs
4
5 module Sexp_of : sig
6 val type_extension : core_type -> core_type
7 val core_type : core_type -> expression
8
9 val sig_type_decl
10 : loc:Location.t
11 -> path:string
12 -> rec_flag * type_declaration list
13 -> signature
14
15 val sig_exception : loc:Location.t -> path:string -> type_exception -> signature
16
17 val str_type_decl
18 : loc:Location.t
19 -> path:string
20 -> rec_flag * type_declaration list
21 -> structure
22
23 val str_exception : loc:Location.t -> path:string -> type_exception -> structure
24 end
25
26 module Of_sexp : sig
27 val type_extension : core_type -> core_type
28 val core_type : path:string -> core_type -> expression
29
30 val sig_type_decl
31 : poly:bool
32 -> loc:Location.t
33 -> path:string
34 -> rec_flag * type_declaration list
35 -> signature
36
37 val str_type_decl
38 : loc:Location.t
39 -> poly:bool (** the type is annotated with sexp_poly instead of sexp *)
40 -> path:string (** the module path within the file *)
41 -> rec_flag * type_declaration list
42 -> structure
43 end
44
45 module Sexp_grammar : sig
46 val type_extension : ctxt:Expansion_context.Extension.t -> core_type -> core_type
47
48 val core_type
49 : tags_of_doc_comments:bool
50 -> ctxt:Expansion_context.Extension.t
51 -> core_type
52 -> expression
53
54 val sig_type_decl
55 : ctxt:Expansion_context.Deriver.t
56 -> rec_flag * type_declaration list
57 -> signature
58
59 val str_type_decl
60 : ctxt:Expansion_context.Deriver.t
61 -> rec_flag * type_declaration list
62 -> bool (** [true] means capture doc comments as tags *)
63 -> structure
64 end
65
66 module Sig_sexp : sig
67 val sig_type_decl
68 : loc:Location.t
69 -> path:string
70 -> rec_flag * type_declaration list
71 -> signature
72 end