1Ast_helper.Type(3) OCaml library Ast_helper.Type(3)
2
3
4
6 Ast_helper.Type - Type declarations
7
9 Module Ast_helper.Type
10
12 Module Type
13 : sig end
14
15
16 Type declarations
17
18
19
20
21
22
23 val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Doc‐
24 strings.docs -> ?text:Docstrings.text -> ?params:(Parsetree.core_type *
25 Asttypes.variance) list -> ?cstrs:(Parsetree.core_type * Parse‐
26 tree.core_type * Ast_helper.loc) list -> ?kind:Parsetree.type_kind ->
27 ?priv:Asttypes.private_flag -> ?manifest:Parsetree.core_type ->
28 Ast_helper.str -> Parsetree.type_declaration
29
30
31
32
33 val constructor : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
34 ?info:Docstrings.info -> ?args:Parsetree.constructor_arguments ->
35 ?res:Parsetree.core_type -> Ast_helper.str -> Parsetree.construc‐
36 tor_declaration
37
38
39
40
41 val field : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
42 ?info:Docstrings.info -> ?mut:Asttypes.mutable_flag -> Ast_helper.str
43 -> Parsetree.core_type -> Parsetree.label_declaration
44
45
46
47
48
49
50OCamldoc 2020-02-27 Ast_helper.Type(3)