mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-17 08:06:43 -05:00
8 lines
No EOL
18 KiB
HTML
8 lines
No EOL
18 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Tast_iterator (ocaml.Tast_iterator)</title><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><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">ocaml</a> » Tast_iterator</nav><header class="odoc-preamble"><h1>Module <code><span>Tast_iterator</span></code></h1><p>Allows the implementation of typed tree inspection using open recursion</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-iterator"><a href="#type-iterator" class="anchor"></a><code><span><span class="keyword">type</span> iterator</span><span> = </span><span>{</span></code><ol><li id="type-iterator.binding_op" class="def record field anchored"><a href="#type-iterator.binding_op" class="anchor"></a><code><span>binding_op : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-binding_op">Typedtree.binding_op</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.case" class="def record field anchored"><a href="#type-iterator.case" class="anchor"></a><code><span>case : 'k. <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><span><span class="type-var">'k</span> <a href="../Typedtree/index.html#type-case">Typedtree.case</a></span> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_declaration" class="def record field anchored"><a href="#type-iterator.class_declaration" class="anchor"></a><code><span>class_declaration : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_declaration">Typedtree.class_declaration</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_description" class="def record field anchored"><a href="#type-iterator.class_description" class="anchor"></a><code><span>class_description : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_description">Typedtree.class_description</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_expr" class="def record field anchored"><a href="#type-iterator.class_expr" class="anchor"></a><code><span>class_expr : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_expr">Typedtree.class_expr</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_field" class="def record field anchored"><a href="#type-iterator.class_field" class="anchor"></a><code><span>class_field : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_field">Typedtree.class_field</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_signature" class="def record field anchored"><a href="#type-iterator.class_signature" class="anchor"></a><code><span>class_signature : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_signature">Typedtree.class_signature</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_structure" class="def record field anchored"><a href="#type-iterator.class_structure" class="anchor"></a><code><span>class_structure : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_structure">Typedtree.class_structure</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_type" class="def record field anchored"><a href="#type-iterator.class_type" class="anchor"></a><code><span>class_type : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_type">Typedtree.class_type</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_type_declaration" class="def record field anchored"><a href="#type-iterator.class_type_declaration" class="anchor"></a><code><span>class_type_declaration : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_type_declaration">Typedtree.class_type_declaration</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.class_type_field" class="def record field anchored"><a href="#type-iterator.class_type_field" class="anchor"></a><code><span>class_type_field : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-class_type_field">Typedtree.class_type_field</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.env" class="def record field anchored"><a href="#type-iterator.env" class="anchor"></a><code><span>env : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Env/index.html#type-t">Env.t</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.expr" class="def record field anchored"><a href="#type-iterator.expr" class="anchor"></a><code><span>expr : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-expression">Typedtree.expression</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.extension_constructor" class="def record field anchored"><a href="#type-iterator.extension_constructor" class="anchor"></a><code><span>extension_constructor : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-extension_constructor">Typedtree.extension_constructor</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.module_binding" class="def record field anchored"><a href="#type-iterator.module_binding" class="anchor"></a><code><span>module_binding : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-module_binding">Typedtree.module_binding</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.module_coercion" class="def record field anchored"><a href="#type-iterator.module_coercion" class="anchor"></a><code><span>module_coercion : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-module_coercion">Typedtree.module_coercion</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.module_declaration" class="def record field anchored"><a href="#type-iterator.module_declaration" class="anchor"></a><code><span>module_declaration : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-module_declaration">Typedtree.module_declaration</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.module_substitution" class="def record field anchored"><a href="#type-iterator.module_substitution" class="anchor"></a><code><span>module_substitution : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-module_substitution">Typedtree.module_substitution</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.module_expr" class="def record field anchored"><a href="#type-iterator.module_expr" class="anchor"></a><code><span>module_expr : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-module_expr">Typedtree.module_expr</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.module_type" class="def record field anchored"><a href="#type-iterator.module_type" class="anchor"></a><code><span>module_type : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-module_type">Typedtree.module_type</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.module_type_declaration" class="def record field anchored"><a href="#type-iterator.module_type_declaration" class="anchor"></a><code><span>module_type_declaration : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span>
|
||
<span><a href="../Typedtree/index.html#type-module_type_declaration">Typedtree.module_type_declaration</a> <span class="arrow">-></span></span>
|
||
unit;</span></code></li><li id="type-iterator.package_type" class="def record field anchored"><a href="#type-iterator.package_type" class="anchor"></a><code><span>package_type : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-package_type">Typedtree.package_type</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.pat" class="def record field anchored"><a href="#type-iterator.pat" class="anchor"></a><code><span>pat : 'k. <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><span><span class="type-var">'k</span> <a href="../Typedtree/index.html#type-general_pattern">Typedtree.general_pattern</a></span> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.row_field" class="def record field anchored"><a href="#type-iterator.row_field" class="anchor"></a><code><span>row_field : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-row_field">Typedtree.row_field</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.object_field" class="def record field anchored"><a href="#type-iterator.object_field" class="anchor"></a><code><span>object_field : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-object_field">Typedtree.object_field</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.open_declaration" class="def record field anchored"><a href="#type-iterator.open_declaration" class="anchor"></a><code><span>open_declaration : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-open_declaration">Typedtree.open_declaration</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.open_description" class="def record field anchored"><a href="#type-iterator.open_description" class="anchor"></a><code><span>open_description : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-open_description">Typedtree.open_description</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.signature" class="def record field anchored"><a href="#type-iterator.signature" class="anchor"></a><code><span>signature : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-signature">Typedtree.signature</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.signature_item" class="def record field anchored"><a href="#type-iterator.signature_item" class="anchor"></a><code><span>signature_item : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-signature_item">Typedtree.signature_item</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.structure" class="def record field anchored"><a href="#type-iterator.structure" class="anchor"></a><code><span>structure : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-structure">Typedtree.structure</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.structure_item" class="def record field anchored"><a href="#type-iterator.structure_item" class="anchor"></a><code><span>structure_item : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-structure_item">Typedtree.structure_item</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.typ" class="def record field anchored"><a href="#type-iterator.typ" class="anchor"></a><code><span>typ : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-core_type">Typedtree.core_type</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.type_declaration" class="def record field anchored"><a href="#type-iterator.type_declaration" class="anchor"></a><code><span>type_declaration : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-type_declaration">Typedtree.type_declaration</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.type_declarations" class="def record field anchored"><a href="#type-iterator.type_declarations" class="anchor"></a><code><span>type_declarations : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span>
|
||
<span><span>(<a href="../Asttypes/index.html#type-rec_flag">Asttypes.rec_flag</a> * <span><a href="../Typedtree/index.html#type-type_declaration">Typedtree.type_declaration</a> list</span>)</span> <span class="arrow">-></span></span>
|
||
unit;</span></code></li><li id="type-iterator.type_extension" class="def record field anchored"><a href="#type-iterator.type_extension" class="anchor"></a><code><span>type_extension : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-type_extension">Typedtree.type_extension</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.type_exception" class="def record field anchored"><a href="#type-iterator.type_exception" class="anchor"></a><code><span>type_exception : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-type_exception">Typedtree.type_exception</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.type_kind" class="def record field anchored"><a href="#type-iterator.type_kind" class="anchor"></a><code><span>type_kind : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-type_kind">Typedtree.type_kind</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.value_binding" class="def record field anchored"><a href="#type-iterator.value_binding" class="anchor"></a><code><span>value_binding : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-value_binding">Typedtree.value_binding</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.value_bindings" class="def record field anchored"><a href="#type-iterator.value_bindings" class="anchor"></a><code><span>value_bindings : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span>
|
||
<span><span>(<a href="../Asttypes/index.html#type-rec_flag">Asttypes.rec_flag</a> * <span><a href="../Typedtree/index.html#type-value_binding">Typedtree.value_binding</a> list</span>)</span> <span class="arrow">-></span></span>
|
||
unit;</span></code></li><li id="type-iterator.value_description" class="def record field anchored"><a href="#type-iterator.value_description" class="anchor"></a><code><span>value_description : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-value_description">Typedtree.value_description</a> <span class="arrow">-></span></span> unit;</span></code></li><li id="type-iterator.with_constraint" class="def record field anchored"><a href="#type-iterator.with_constraint" class="anchor"></a><code><span>with_constraint : <span><a href="#type-iterator">iterator</a> <span class="arrow">-></span></span> <span><a href="../Typedtree/index.html#type-with_constraint">Typedtree.with_constraint</a> <span class="arrow">-></span></span> unit;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-default_iterator"><a href="#val-default_iterator" class="anchor"></a><code><span><span class="keyword">val</span> default_iterator : <a href="#type-iterator">iterator</a></span></code></div></div></div></body></html> |