1Ast_helper.Ctf(3) OCaml library Ast_helper.Ctf(3)
2
3
4
6 Ast_helper.Ctf - Class type fields
7
9 Module Ast_helper.Ctf
10
12 Module Ctf
13 : sig end
14
15
16 Class type fields
17
18
19
20
21
22
23 val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Doc‐
24 strings.docs -> Parsetree.class_type_field_desc -> Parse‐
25 tree.class_type_field
26
27
28
29
30 val attr : Parsetree.class_type_field -> Parsetree.attribute -> Parse‐
31 tree.class_type_field
32
33
34
35
36 val inherit_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parse‐
37 tree.class_type -> Parsetree.class_type_field
38
39
40
41
42 val val_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
43 Ast_helper.str -> Asttypes.mutable_flag -> Asttypes.virtual_flag ->
44 Parsetree.core_type -> Parsetree.class_type_field
45
46
47
48
49 val method_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
50 Ast_helper.str -> Asttypes.private_flag -> Asttypes.virtual_flag ->
51 Parsetree.core_type -> Parsetree.class_type_field
52
53
54
55
56 val constraint_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
57 Parsetree.core_type -> Parsetree.core_type -> Parse‐
58 tree.class_type_field
59
60
61
62
63 val extension : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
64 Parsetree.extension -> Parsetree.class_type_field
65
66
67
68
69 val attribute : ?loc:Ast_helper.loc -> Parsetree.attribute -> Parse‐
70 tree.class_type_field
71
72
73
74
75 val text : Docstrings.text -> Parsetree.class_type_field list
76
77
78
79
80
81
82OCamldoc 2020-09-01 Ast_helper.Ctf(3)