1Ast_helper.Te(3) OCaml library Ast_helper.Te(3)
2
3
4
6 Ast_helper.Te - Type extensions
7
9 Module Ast_helper.Te
10
12 Module Te
13 : sig end
14
15
16 Type extensions
17
18
19
20
21
22
23 val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Doc‐
24 strings.docs -> ?params:(Parsetree.core_type * Asttypes.variance) list
25 -> ?priv:Asttypes.private_flag -> Ast_helper.lid -> Parsetree.exten‐
26 sion_constructor list -> Parsetree.type_extension
27
28
29
30
31 val mk_exception : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
32 ?docs:Docstrings.docs -> Parsetree.extension_constructor -> Parse‐
33 tree.type_exception
34
35
36
37
38 val constructor : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
39 ?docs:Docstrings.docs -> ?info:Docstrings.info -> Ast_helper.str ->
40 Parsetree.extension_constructor_kind -> Parsetree.extension_constructor
41
42
43
44
45 val decl : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Doc‐
46 strings.docs -> ?info:Docstrings.info -> ?args:Parsetree.construc‐
47 tor_arguments -> ?res:Parsetree.core_type -> Ast_helper.str -> Parse‐
48 tree.extension_constructor
49
50
51
52
53 val rebind : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
54 ?docs:Docstrings.docs -> ?info:Docstrings.info -> Ast_helper.str ->
55 Ast_helper.lid -> Parsetree.extension_constructor
56
57
58
59
60
61
62OCamldoc 2020-09-01 Ast_helper.Te(3)