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

# [NAME](#NAME)

Ast\_helper.Const - no description

# [Module](#Module)

Module Ast\_helper.Const

# [Documentation](#Documentation)

Module **Const**  
: **sig end**

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

*val char* : **?loc:Ast\_helper.loc -&gt; char -&gt; Parsetree.constant**

*val string* : **?quotation\_delimiter:string -&gt;** **?loc:Location.t -&gt; string -&gt; Parsetree.constant**

*val integer* : **?loc:Ast\_helper.loc -&gt; ?suffix:char -&gt; string -&gt; Parsetree.constant**

*val int* : **?loc:Ast\_helper.loc -&gt; ?suffix:char -&gt; int -&gt; Parsetree.constant**

*val int32* : **?loc:Ast\_helper.loc -&gt; ?suffix:char -&gt; int32 -&gt; Parsetree.constant**

*val int64* : **?loc:Ast\_helper.loc -&gt; ?suffix:char -&gt; int64 -&gt; Parsetree.constant**

*val nativeint* : **?loc:Ast\_helper.loc -&gt; ?suffix:char -&gt; nativeint -&gt; Parsetree.constant**

*val float* : **?loc:Ast\_helper.loc -&gt; ?suffix:char -&gt; string -&gt; Parsetree.constant**

2026-09-04 OCamldoc

---

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