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

# [NAME](#NAME)

Ast\_helper.Te - Type extensions

# [Module](#Module)

Module Ast\_helper.Te

# [Documentation](#Documentation)

Module **Te**  
: **sig end**

Type extensions

*val mk* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **?docs:Docstrings.docs -&gt;** **?params:(Parsetree.core\_type * (Asttypes.variance * Asttypes.injectivity))** **list -&gt;** **?priv:Asttypes.private\_flag -&gt;** **Ast\_helper.lid -&gt;** **Parsetree.extension\_constructor list -&gt; Parsetree.type\_extension**

*val mk\_exception* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **?docs:Docstrings.docs -&gt;** **Parsetree.extension\_constructor -&gt; Parsetree.type\_exception**

*val constructor* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **?docs:Docstrings.docs -&gt;** **?info:Docstrings.info -&gt;** **Ast\_helper.str -&gt;** **Parsetree.extension\_constructor\_kind -&gt; Parsetree.extension\_constructor**

*val decl* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **?docs:Docstrings.docs -&gt;** **?info:Docstrings.info -&gt;** **?vars:Ast\_helper.str list -&gt;** **?args:Parsetree.constructor\_arguments -&gt;** **?res:Parsetree.core\_type -&gt; Ast\_helper.str -&gt; Parsetree.extension\_constructor**

*val rebind* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **?docs:Docstrings.docs -&gt;** **?info:Docstrings.info -&gt;** **Ast\_helper.str -&gt; Ast\_helper.lid -&gt; Parsetree.extension\_constructor**

2026-10-23 OCamldoc

---

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