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