---
name: "Ast_helper.Cf"
section: "3o"
platform: "linux"
package: "ocaml"
version: "5.5.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Ast_helper.Cf"
---

# Ast\_helper.Cf(3o)

Class fields

## NAME

Ast\_helper.Cf - Class fields

## Module

Module   Ast\_helper.Cf

## Documentation

Module **Cf**\
  :  **sig end**

Class fields

*val mk* :  **?loc:Ast\_helper.loc -\>** **?attrs:Ast\_helper.attrs -\>** **?docs:Docstrings.docs -\> Parsetree.class\_field\_desc -\> Parsetree.class\_field**

*val attr* :  **Parsetree.class\_field -\> Parsetree.attribute -\> Parsetree.class\_field**

*val inherit\_* :  **?loc:Ast\_helper.loc -\>** **?attrs:Ast\_helper.attrs -\>** **Asttypes.override\_flag -\>** **Parsetree.class\_expr -\> Ast\_helper.str option -\> Parsetree.class\_field**

*val val\_* :  **?loc:Ast\_helper.loc -\>** **?attrs:Ast\_helper.attrs -\>** **Ast\_helper.str -\>** **Asttypes.mutable\_flag -\> Parsetree.class\_field\_kind -\> Parsetree.class\_field**

*val method\_* :  **?loc:Ast\_helper.loc -\>** **?attrs:Ast\_helper.attrs -\>** **Ast\_helper.str -\>** **Asttypes.private\_flag -\> Parsetree.class\_field\_kind -\> Parsetree.class\_field**

*val constraint\_* :  **?loc:Ast\_helper.loc -\>** **?attrs:Ast\_helper.attrs -\>** **Parsetree.core\_type -\> Parsetree.core\_type -\> Parsetree.class\_field**

*val initializer\_* :  **?loc:Ast\_helper.loc -\>** **?attrs:Ast\_helper.attrs -\> Parsetree.expression -\> Parsetree.class\_field**

*val extension* :  **?loc:Ast\_helper.loc -\>** **?attrs:Ast\_helper.attrs -\> Parsetree.extension -\> Parsetree.class\_field**

*val attribute* :  **?loc:Ast\_helper.loc -\> Parsetree.attribute -\> Parsetree.class\_field**

*val text* :  **Docstrings.text -\> Parsetree.class\_field list**

*val virtual\_* :  **Parsetree.core\_type -\> Parsetree.class\_field\_kind**

*val concrete* :  **Asttypes.override\_flag -\> Parsetree.expression -\> Parsetree.class\_field\_kind**
