---
name: "Ast_helper.Ctf"
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.Ctf"
---

# Ast\_helper.Ctf(3o)

Class type fields

## NAME

Ast\_helper.Ctf - Class type fields

## Module

Module   Ast\_helper.Ctf

## Documentation

Module **Ctf**\
  :  **sig end**

Class type fields

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

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

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

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

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

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

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

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

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