Reason
  • Docs
  • Try
  • API
  • Community
  • Blog
  • Languages iconEnglish
    • 日本語
    • Deutsch
    • Español
    • Français
    • 한국어
    • Português (Brasil)
    • Русский
    • Українська
    • 中文
    • 繁體中文
    • Help Translate
  • GitHub
Previous  Up  Next

Module Ast_helper.Ctf

module Ctf: sig .. end
Class type fields

let mk:
  (
    ~loc: Ast_helper.loc=?,
    ~attrs: Ast_helper.attrs=?,
    ~docs: Docstrings.docs=?,
    Parsetree.class_type_field_desc
  ) =>
  Parsetree.class_type_field;
let attr:
  (Parsetree.class_type_field, Parsetree.attribute) =>
  Parsetree.class_type_field;
let inherit_:
  (~loc: Ast_helper.loc=?, ~attrs: Ast_helper.attrs=?, Parsetree.class_type) =>
  Parsetree.class_type_field;
let val_:
  (
    ~loc: Ast_helper.loc=?,
    ~attrs: Ast_helper.attrs=?,
    string,
    Asttypes.mutable_flag,
    Asttypes.virtual_flag,
    Parsetree.core_type
  ) =>
  Parsetree.class_type_field;
let method:
  (
    ~loc: Ast_helper.loc=?,
    ~attrs: Ast_helper.attrs=?,
    string,
    Asttypes.private_flag,
    Asttypes.virtual_flag,
    Parsetree.core_type
  ) =>
  Parsetree.class_type_field;
let constraint_:
  (
    ~loc: Ast_helper.loc=?,
    ~attrs: Ast_helper.attrs=?,
    Parsetree.core_type,
    Parsetree.core_type
  ) =>
  Parsetree.class_type_field;
let extension:
  (~loc: Ast_helper.loc=?, ~attrs: Ast_helper.attrs=?, Parsetree.extension) =>
  Parsetree.class_type_field;
let attribute:
  (~loc: Ast_helper.loc=?, Parsetree.attribute) => Parsetree.class_type_field;
let text: Docstrings.text => list(Parsetree.class_type_field);