mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-10 04:35:44 -04:00
90 lines
19 KiB
HTML
90 lines
19 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Pat (ppxlib.Ppxlib_ast.Ast_helper.Pat)</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> » <a href="../../../index.html">ppxlib</a> » <a href="../../index.html">Ppxlib_ast</a> » <a href="../index.html">Ast_helper</a> » Pat</nav><header class="odoc-preamble"><h1>Module <code><span>Ast_helper.Pat</span></code></h1><p>Patterns</p><p>Patterns</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-mk"><a href="#val-mk" class="anchor"></a><code><span><span class="keyword">val</span> mk :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern_desc">Astlib.Ast_502.Parsetree.pattern_desc</a> <span class="arrow">-></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-attr"><a href="#val-attr" class="anchor"></a><code><span><span class="keyword">val</span> attr :
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> <span class="arrow">-></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-any"><a href="#val-any" class="anchor"></a><code><span><span class="keyword">val</span> any :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span>unit <span class="arrow">-></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-var"><a href="#val-var" class="anchor"></a><code><span><span class="keyword">val</span> var :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><span>string <a href="../../../Astlib/Location/index.html#type-loc">Astlib.Location.loc</a></span> <span class="arrow">-></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-alias"><a href="#val-alias" class="anchor"></a><code><span><span class="keyword">val</span> alias :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">-></span></span>
|
||
<span><span>string <a href="../../../Astlib/Location/index.html#type-loc">Astlib.Location.loc</a></span> <span class="arrow">-></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-constant"><a href="#val-constant" class="anchor"></a><code><span><span class="keyword">val</span> constant :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-constant">Astlib.Ast_502.Parsetree.constant</a> <span class="arrow">-></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-interval"><a href="#val-interval" class="anchor"></a><code><span><span class="keyword">val</span> interval :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-constant">Astlib.Ast_502.Parsetree.constant</a> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-constant">Astlib.Ast_502.Parsetree.constant</a> <span class="arrow">-></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-tuple"><a href="#val-tuple" class="anchor"></a><code><span><span class="keyword">val</span> tuple :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> list</span> <span class="arrow">-></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-construct"><a href="#val-construct" class="anchor"></a><code><span><span class="keyword">val</span> construct :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></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">-></span></span>
|
||
<span><span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> option</span> <span class="arrow">-></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-variant"><a href="#val-variant" class="anchor"></a><code><span><span class="keyword">val</span> variant :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Asttypes/index.html#type-label">Astlib.Ast_502.Asttypes.label</a> <span class="arrow">-></span></span>
|
||
<span><span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> option</span> <span class="arrow">-></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-record"><a href="#val-record" class="anchor"></a><code><span><span class="keyword">val</span> record :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<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> * <a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a>)</span>
|
||
list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Asttypes/index.html#type-closed_flag">Astlib.Ast_502.Asttypes.closed_flag</a> <span class="arrow">-></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-array"><a href="#val-array" class="anchor"></a><code><span><span class="keyword">val</span> array :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> list</span> <span class="arrow">-></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-or_"><a href="#val-or_" class="anchor"></a><code><span><span class="keyword">val</span> or_ :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">-></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-constraint_"><a href="#val-constraint_" class="anchor"></a><code><span><span class="keyword">val</span> constraint_ :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-core_type">Astlib.Ast_502.Parsetree.core_type</a> <span class="arrow">-></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-type_"><a href="#val-type_" class="anchor"></a><code><span><span class="keyword">val</span> type_ :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></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">-></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-lazy_"><a href="#val-lazy_" class="anchor"></a><code><span><span class="keyword">val</span> lazy_ :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">-></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-unpack"><a href="#val-unpack" class="anchor"></a><code><span><span class="keyword">val</span> unpack :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><span><span>string option</span> <a href="../../../Astlib/Location/index.html#type-loc">Astlib.Location.loc</a></span> <span class="arrow">-></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-open_"><a href="#val-open_" class="anchor"></a><code><span><span class="keyword">val</span> open_ :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></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">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">-></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-exception_"><a href="#val-exception_" class="anchor"></a><code><span><span class="keyword">val</span> exception_ :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a> <span class="arrow">-></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-extension"><a href="#val-extension" class="anchor"></a><code><span><span class="keyword">val</span> extension :
|
||
<span><span class="optlabel">?loc</span>:<a href="../../../Astlib/Location/index.html#type-t">Astlib.Location.t</a> <span class="arrow">-></span></span>
|
||
<span><span class="optlabel">?attrs</span>:<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-attribute">Astlib.Ast_502.Parsetree.attribute</a> list</span> <span class="arrow">-></span></span>
|
||
<span><a href="../../../Astlib/Ast_502/Parsetree/index.html#type-extension">Astlib.Ast_502.Parsetree.extension</a> <span class="arrow">-></span></span>
|
||
<a href="../../../Astlib/Ast_502/Parsetree/index.html#type-pattern">Astlib.Ast_502.Parsetree.pattern</a></span></code></div></div></div></body></html>
|