Ast\_helper.Cty(3) OCaml library Ast\_helper.Cty(3)

# [NAME](#NAME)

Ast\_helper.Cty - Class type expressions

# [Module](#Module)

Module Ast\_helper.Cty

# [Documentation](#Documentation)

Module **Cty**  
: **sig end**

Class type expressions

*val mk* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt; Parsetree.class\_type\_desc -&gt; Parsetree.class\_type**

*val attr* : **Parsetree.class\_type -&gt; Parsetree.attribute -&gt; Parsetree.class\_type**

*val constr* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **Ast\_helper.lid -&gt; Parsetree.core\_type list -&gt; Parsetree.class\_type**

*val signature* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt; Parsetree.class\_signature -&gt; Parsetree.class\_type**

*val arrow* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **Asttypes.arg\_label -&gt;** **Parsetree.core\_type -&gt; Parsetree.class\_type -&gt; Parsetree.class\_type**

*val extension* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt; Parsetree.extension -&gt; Parsetree.class\_type**

*val open\_* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **Parsetree.open\_description -&gt; Parsetree.class\_type -&gt; Parsetree.class\_type**

2026-09-04 OCamldoc

---

Document: Ast_helper.Cty(3o) from ocaml 5.5.1-r0 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
