1Ast_helper.Mod(3) OCaml library Ast_helper.Mod(3)
2
3
4
6 Ast_helper.Mod - Module expressions
7
9 Module Ast_helper.Mod
10
12 Module Mod
13 : sig end
14
15
16 Module expressions
17
18
19
20
21
22
23 val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parse‐
24 tree.module_expr_desc -> Parsetree.module_expr
25
26
27
28
29 val attr : Parsetree.module_expr -> Parsetree.attribute -> Parse‐
30 tree.module_expr
31
32
33
34
35 val ident : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
36 Ast_helper.lid -> Parsetree.module_expr
37
38
39
40
41 val structure : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
42 Parsetree.structure -> Parsetree.module_expr
43
44
45
46
47 val functor_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
48 Ast_helper.str -> Parsetree.module_type option -> Parsetree.module_expr
49 -> Parsetree.module_expr
50
51
52
53
54 val apply : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parse‐
55 tree.module_expr -> Parsetree.module_expr -> Parsetree.module_expr
56
57
58
59
60 val constraint_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
61 Parsetree.module_expr -> Parsetree.module_type -> Parsetree.module_expr
62
63
64
65
66 val unpack : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parse‐
67 tree.expression -> Parsetree.module_expr
68
69
70
71
72 val extension : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
73 Parsetree.extension -> Parsetree.module_expr
74
75
76
77
78
79
80OCamldoc 2019-07-30 Ast_helper.Mod(3)