1Ast_helper.Type(3)               OCaml library              Ast_helper.Type(3)
2
3
4

NAME

6       Ast_helper.Type - Type declarations
7

Module

9       Module   Ast_helper.Type
10

Documentation

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  *  Asttypes.injectivity))  list  ->  ?cstrs:(Parse‐
26       tree.core_type  *  Parsetree.core_type  *   Ast_helper.loc)   list   ->
27       ?kind:Parsetree.type_kind   ->  ?priv:Asttypes.private_flag  ->  ?mani‐
28       fest:Parsetree.core_type -> Ast_helper.str  ->  Parsetree.type_declara‐
29       tion
30
31
32
33
34       val  constructor  :  ?loc:Ast_helper.loc  -> ?attrs:Ast_helper.attrs ->
35       ?info:Docstrings.info  ->  ?vars:Ast_helper.str  list  ->  ?args:Parse‐
36       tree.constructor_arguments      ->      ?res:Parsetree.core_type     ->
37       Ast_helper.str -> Parsetree.constructor_declaration
38
39
40
41
42       val  field  :   ?loc:Ast_helper.loc   ->   ?attrs:Ast_helper.attrs   ->
43       ?info:Docstrings.info  ->  ?mut:Asttypes.mutable_flag -> Ast_helper.str
44       -> Parsetree.core_type -> Parsetree.label_declaration
45
46
47
48
49
50
51OCamldoc                          2022-07-22                Ast_helper.Type(3)
Impressum