Ast_helper.Cf
Class fields
Class fields
val mk :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
Astlib.Ast_500.Parsetree.class_field_desc ->
Astlib.Ast_500.Parsetree.class_field
val inherit_ :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
Astlib.Ast_500.Asttypes.override_flag ->
Astlib.Ast_500.Parsetree.class_expr ->
string Astlib.Location.loc option ->
Astlib.Ast_500.Parsetree.class_field
val val_ :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
string Astlib.Location.loc ->
Astlib.Ast_500.Asttypes.mutable_flag ->
Astlib.Ast_500.Parsetree.class_field_kind ->
Astlib.Ast_500.Parsetree.class_field
val method_ :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
string Astlib.Location.loc ->
Astlib.Ast_500.Asttypes.private_flag ->
Astlib.Ast_500.Parsetree.class_field_kind ->
Astlib.Ast_500.Parsetree.class_field
val constraint_ :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
Astlib.Ast_500.Parsetree.core_type ->
Astlib.Ast_500.Parsetree.core_type ->
Astlib.Ast_500.Parsetree.class_field
val initializer_ :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
Astlib.Ast_500.Parsetree.expression ->
Astlib.Ast_500.Parsetree.class_field
val extension :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
Astlib.Ast_500.Parsetree.extension ->
Astlib.Ast_500.Parsetree.class_field
val attribute :
?loc:Astlib.Location.t ->
Astlib.Ast_500.Parsetree.attribute ->
Astlib.Ast_500.Parsetree.class_field
val virtual_ :
Astlib.Ast_500.Parsetree.core_type ->
Astlib.Ast_500.Parsetree.class_field_kind