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