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 *
25 Asttypes.injectivity)) list -> ?priv:Asttypes.private_flag ->
26 Ast_helper.lid -> Parsetree.extension_constructor list -> Parse‐
27 tree.type_extension
28
29
30
31
32 val mk_exception : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
33 ?docs:Docstrings.docs -> Parsetree.extension_constructor -> Parse‐
34 tree.type_exception
35
36
37
38
39 val constructor : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
40 ?docs:Docstrings.docs -> ?info:Docstrings.info -> Ast_helper.str ->
41 Parsetree.extension_constructor_kind -> Parsetree.extension_constructor
42
43
44
45
46 val decl : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Doc‐
47 strings.docs -> ?info:Docstrings.info -> ?vars:Ast_helper.str list ->
48 ?args:Parsetree.constructor_arguments -> ?res:Parsetree.core_type ->
49 Ast_helper.str -> Parsetree.extension_constructor
50
51
52
53
54 val rebind : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
55 ?docs:Docstrings.docs -> ?info:Docstrings.info -> Ast_helper.str ->
56 Ast_helper.lid -> Parsetree.extension_constructor
57
58
59
60
61
62
63OCamldoc 2022-07-22 Ast_helper.Te(3)