module Cf: sig .. end
Class fields
let mk:
(
~loc: Ast_helper.loc=?,
~attrs: Ast_helper.attrs=?,
~docs: Docstrings.docs=?,
Parsetree.class_field_desc
) =>
Parsetree.class_field;
let attr:
(Parsetree.class_field, Parsetree.attribute) => Parsetree.class_field;
let inherit_:
(
~loc: Ast_helper.loc=?,
~attrs: Ast_helper.attrs=?,
Asttypes.override_flag,
Parsetree.class_expr,
option(Ast_helper.str)
) =>
Parsetree.class_field;
let val_:
(
~loc: Ast_helper.loc=?,
~attrs: Ast_helper.attrs=?,
Ast_helper.str,
Asttypes.mutable_flag,
Parsetree.class_field_kind
) =>
Parsetree.class_field;
let method:
(
~loc: Ast_helper.loc=?,
~attrs: Ast_helper.attrs=?,
Ast_helper.str,
Asttypes.private_flag,
Parsetree.class_field_kind
) =>
Parsetree.class_field;
let constraint_:
(
~loc: Ast_helper.loc=?,
~attrs: Ast_helper.attrs=?,
Parsetree.core_type,
Parsetree.core_type
) =>
Parsetree.class_field;
let initializer_:
(~loc: Ast_helper.loc=?, ~attrs: Ast_helper.attrs=?, Parsetree.expression) =>
Parsetree.class_field;
let extension:
(~loc: Ast_helper.loc=?, ~attrs: Ast_helper.attrs=?, Parsetree.extension) =>
Parsetree.class_field;
let attribute:
(~loc: Ast_helper.loc=?, Parsetree.attribute) => Parsetree.class_field;
let text: Docstrings.text => list(Parsetree.class_field);
let virtual_: Parsetree.core_type => Parsetree.class_field_kind;
let concrete:
(Asttypes.override_flag, Parsetree.expression) => Parsetree.class_field_kind;