1Ast_helper.Te(3) OCamldoc 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 : ?attrs:Ast_helper.attrs -> ?docs:Docstrings.docs ->
24 ?params:(Parsetree.core_type * Asttypes.variance) list -> ?priv:Ast‐
25 types.private_flag -> Ast_helper.lid -> Parsetree.extension_constructor
26 list -> Parsetree.type_extension
27
28
29
30
31 val constructor : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
32 ?docs:Docstrings.docs -> ?info:Docstrings.info -> Ast_helper.str ->
33 Parsetree.extension_constructor_kind -> Parsetree.extension_constructor
34
35
36
37
38 val decl : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Doc‐
39 strings.docs -> ?info:Docstrings.info -> ?args:Parsetree.construc‐
40 tor_arguments -> ?res:Parsetree.core_type -> Ast_helper.str -> Parse‐
41 tree.extension_constructor
42
43
44
45
46 val rebind : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
47 ?docs:Docstrings.docs -> ?info:Docstrings.info -> Ast_helper.str ->
48 Ast_helper.lid -> Parsetree.extension_constructor
49
50
51
52
53
54
552018-04-14 source: Ast_helper.Te(3)