1Ast_helper.Cty(3) OCaml library Ast_helper.Cty(3)
2
3
4
6 Ast_helper.Cty - Class type expressions
7
9 Module Ast_helper.Cty
10
12 Module Cty
13 : sig end
14
15
16 Class type expressions
17
18
19
20
21
22
23 val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parse‐
24 tree.class_type_desc -> Parsetree.class_type
25
26
27
28
29 val attr : Parsetree.class_type -> Parsetree.attribute -> Parse‐
30 tree.class_type
31
32
33
34
35 val constr : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
36 Ast_helper.lid -> Parsetree.core_type list -> Parsetree.class_type
37
38
39
40
41 val signature : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
42 Parsetree.class_signature -> Parsetree.class_type
43
44
45
46
47 val arrow : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Ast‐
48 types.arg_label -> Parsetree.core_type -> Parsetree.class_type ->
49 Parsetree.class_type
50
51
52
53
54 val extension : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
55 Parsetree.extension -> Parsetree.class_type
56
57
58
59
60 val open_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parse‐
61 tree.open_description -> Parsetree.class_type -> Parsetree.class_type
62
63
64
65
66
67
68OCamldoc 2020-02-27 Ast_helper.Cty(3)