ocaml-trace/ppxlib/Ppxlib/Ast_builder/Default/Latest/index.html
2025-12-12 13:56:43 +00:00

19 lines
4.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Latest (ppxlib.Ppxlib.Ast_builder.Default.Latest)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../../../index.html">Index</a> &#x00BB; <a href="../../../../index.html">ppxlib</a> &#x00BB; <a href="../../../index.html">Ppxlib</a> &#x00BB; <a href="../../index.html">Ast_builder</a> &#x00BB; <a href="../index.html">Default</a> &#x00BB; Latest</nav><header class="odoc-preamble"><h1>Module <code><span>Default.Latest</span></code></h1><p>This module contains updated versions of node constructors that were kept stable when the node changed. For every function in this module, there's an equally-named function outside this module. The function outside this module will stay stable, whereas the function inside this module will adapt potential upcoming new compiler features. Only use a function in this module, if the equally-named one outside this module is missing a feature you need.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-ppat_construct"><a href="#val-ppat_construct" class="anchor"></a><code><span><span class="keyword">val</span> ppat_construct :
<span><span class="label">loc</span>:<a href="../../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span><a href="../../../../Astlib/Longident/index.html#type-t">Astlib.Longident.t</a> <a href="../../../../Astlib/Location/index.html#type-loc">Astlib.Location.loc</a></span> <span class="arrow">&#45;&gt;</span></span>
<span><span><span>(<span><span>string <a href="../../../../Astlib/Location/index.html#type-loc">Astlib.Location.loc</a></span> list</span> * <a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a>)</span> option</span> <span class="arrow">&#45;&gt;</span></span>
<a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-value_binding"><a href="#val-value_binding" class="anchor"></a><code><span><span class="keyword">val</span> value_binding :
<span><span class="optlabel">?constraint_</span>:<a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-value_constraint">Astlib.Ast_502.Parsetree.value_constraint</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">loc</span>:<a href="../../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">pat</span>:<a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">expr</span>:<a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-expression">Astlib.Ast_502.Parsetree.expression</a> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-value_binding">Astlib.Ast_502.Parsetree.value_binding</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-constructor_declaration"><a href="#val-constructor_declaration" class="anchor"></a><code><span><span class="keyword">val</span> constructor_declaration :
<span><span class="label">loc</span>:<a href="../../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">name</span>:<span>string <a href="../../../../Astlib/Location/index.html#type-loc">Astlib.Location.loc</a></span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">vars</span>:<span><span>string <a href="../../../../Astlib/Location/index.html#type-loc">Astlib.Location.loc</a></span> list</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">args</span>:<a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-constructor_arguments">Astlib.Ast_502.Parsetree.constructor_arguments</a> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">res</span>:<span><a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-core_type">Astlib.Ast_502.Parsetree.core_type</a> option</span> <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="../../../../Astlib/Ast_502/Parsetree/index.html#type-constructor_declaration">Astlib.Ast_502.Parsetree.constructor_declaration</a></span></code></div></div></div></body></html>