1Ast_helper.Sig(3) OCaml library Ast_helper.Sig(3)
2
3
4
6 Ast_helper.Sig - Signature items
7
9 Module Ast_helper.Sig
10
12 Module Sig
13 : sig end
14
15
16 Signature items
17
18
19
20
21
22
23 val mk : ?loc:Ast_helper.loc -> Parsetree.signature_item_desc -> Parse‐
24 tree.signature_item
25
26
27
28
29 val value : ?loc:Ast_helper.loc -> Parsetree.value_description ->
30 Parsetree.signature_item
31
32
33
34
35 val type_ : ?loc:Ast_helper.loc -> Asttypes.rec_flag -> Parse‐
36 tree.type_declaration list -> Parsetree.signature_item
37
38
39
40
41 val type_subst : ?loc:Ast_helper.loc -> Parsetree.type_declaration list
42 -> Parsetree.signature_item
43
44
45
46
47 val type_extension : ?loc:Ast_helper.loc -> Parsetree.type_extension ->
48 Parsetree.signature_item
49
50
51
52
53 val exception_ : ?loc:Ast_helper.loc -> Parsetree.type_exception ->
54 Parsetree.signature_item
55
56
57
58
59 val module_ : ?loc:Ast_helper.loc -> Parsetree.module_declaration ->
60 Parsetree.signature_item
61
62
63
64
65 val mod_subst : ?loc:Ast_helper.loc -> Parsetree.module_substitution ->
66 Parsetree.signature_item
67
68
69
70
71 val rec_module : ?loc:Ast_helper.loc -> Parsetree.module_declaration
72 list -> Parsetree.signature_item
73
74
75
76
77 val modtype : ?loc:Ast_helper.loc -> Parsetree.module_type_declaration
78 -> Parsetree.signature_item
79
80
81
82
83 val open_ : ?loc:Ast_helper.loc -> Parsetree.open_description -> Parse‐
84 tree.signature_item
85
86
87
88
89 val include_ : ?loc:Ast_helper.loc -> Parsetree.include_description ->
90 Parsetree.signature_item
91
92
93
94
95 val class_ : ?loc:Ast_helper.loc -> Parsetree.class_description list ->
96 Parsetree.signature_item
97
98
99
100
101 val class_type : ?loc:Ast_helper.loc -> Parsetree.class_type_declara‐
102 tion list -> Parsetree.signature_item
103
104
105
106
107 val extension : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
108 Parsetree.extension -> Parsetree.signature_item
109
110
111
112
113 val attribute : ?loc:Ast_helper.loc -> Parsetree.attribute -> Parse‐
114 tree.signature_item
115
116
117
118
119 val text : Docstrings.text -> Parsetree.signature_item list
120
121
122
123
124
125
126OCamldoc 2021-01-26 Ast_helper.Sig(3)