1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<link rel="stylesheet" href="style.css" type="text/css"> 5<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> 6<meta name="viewport" content="width=device-width, initial-scale=1"> 7<link rel="Start" href="index.html"> 8<link rel="previous" href="Ast_helper.Typ.html"> 9<link rel="next" href="Ast_helper.Exp.html"> 10<link rel="Up" href="Ast_helper.html"> 11<link title="Index of types" rel=Appendix href="index_types.html"> 12<link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> 13<link title="Index of values" rel=Appendix href="index_values.html"> 14<link title="Index of modules" rel=Appendix href="index_modules.html"> 15<link title="Index of module types" rel=Appendix href="index_module_types.html"> 16<link title="Arg" rel="Chapter" href="Arg.html"> 17<link title="Arg_helper" rel="Chapter" href="Arg_helper.html"> 18<link title="Arith_status" rel="Chapter" href="Arith_status.html"> 19<link title="Array" rel="Chapter" href="Array.html"> 20<link title="ArrayLabels" rel="Chapter" href="ArrayLabels.html"> 21<link title="Ast_helper" rel="Chapter" href="Ast_helper.html"> 22<link title="Ast_invariants" rel="Chapter" href="Ast_invariants.html"> 23<link title="Ast_iterator" rel="Chapter" href="Ast_iterator.html"> 24<link title="Ast_mapper" rel="Chapter" href="Ast_mapper.html"> 25<link title="Asttypes" rel="Chapter" href="Asttypes.html"> 26<link title="Attr_helper" rel="Chapter" href="Attr_helper.html"> 27<link title="Big_int" rel="Chapter" href="Big_int.html"> 28<link title="Bigarray" rel="Chapter" href="Bigarray.html"> 29<link title="Buffer" rel="Chapter" href="Buffer.html"> 30<link title="Builtin_attributes" rel="Chapter" href="Builtin_attributes.html"> 31<link title="Bytes" rel="Chapter" href="Bytes.html"> 32<link title="BytesLabels" rel="Chapter" href="BytesLabels.html"> 33<link title="Callback" rel="Chapter" href="Callback.html"> 34<link title="CamlinternalFormat" rel="Chapter" href="CamlinternalFormat.html"> 35<link title="CamlinternalFormatBasics" rel="Chapter" href="CamlinternalFormatBasics.html"> 36<link title="CamlinternalLazy" rel="Chapter" href="CamlinternalLazy.html"> 37<link title="CamlinternalMod" rel="Chapter" href="CamlinternalMod.html"> 38<link title="CamlinternalOO" rel="Chapter" href="CamlinternalOO.html"> 39<link title="Ccomp" rel="Chapter" href="Ccomp.html"> 40<link title="Char" rel="Chapter" href="Char.html"> 41<link title="Clflags" rel="Chapter" href="Clflags.html"> 42<link title="Complex" rel="Chapter" href="Complex.html"> 43<link title="Condition" rel="Chapter" href="Condition.html"> 44<link title="Config" rel="Chapter" href="Config.html"> 45<link title="Consistbl" rel="Chapter" href="Consistbl.html"> 46<link title="Depend" rel="Chapter" href="Depend.html"> 47<link title="Digest" rel="Chapter" href="Digest.html"> 48<link title="Docstrings" rel="Chapter" href="Docstrings.html"> 49<link title="Dynlink" rel="Chapter" href="Dynlink.html"> 50<link title="Ephemeron" rel="Chapter" href="Ephemeron.html"> 51<link title="Event" rel="Chapter" href="Event.html"> 52<link title="Filename" rel="Chapter" href="Filename.html"> 53<link title="Format" rel="Chapter" href="Format.html"> 54<link title="Gc" rel="Chapter" href="Gc.html"> 55<link title="Genlex" rel="Chapter" href="Genlex.html"> 56<link title="Graphics" rel="Chapter" href="Graphics.html"> 57<link title="GraphicsX11" rel="Chapter" href="GraphicsX11.html"> 58<link title="Hashtbl" rel="Chapter" href="Hashtbl.html"> 59<link title="Identifiable" rel="Chapter" href="Identifiable.html"> 60<link title="Int32" rel="Chapter" href="Int32.html"> 61<link title="Int64" rel="Chapter" href="Int64.html"> 62<link title="Lazy" rel="Chapter" href="Lazy.html"> 63<link title="Lexer" rel="Chapter" href="Lexer.html"> 64<link title="Lexing" rel="Chapter" href="Lexing.html"> 65<link title="List" rel="Chapter" href="List.html"> 66<link title="ListLabels" rel="Chapter" href="ListLabels.html"> 67<link title="Location" rel="Chapter" href="Location.html"> 68<link title="Longident" rel="Chapter" href="Longident.html"> 69<link title="Map" rel="Chapter" href="Map.html"> 70<link title="Marshal" rel="Chapter" href="Marshal.html"> 71<link title="Misc" rel="Chapter" href="Misc.html"> 72<link title="MoreLabels" rel="Chapter" href="MoreLabels.html"> 73<link title="Mutex" rel="Chapter" href="Mutex.html"> 74<link title="Nativeint" rel="Chapter" href="Nativeint.html"> 75<link title="Num" rel="Chapter" href="Num.html"> 76<link title="Numbers" rel="Chapter" href="Numbers.html"> 77<link title="Obj" rel="Chapter" href="Obj.html"> 78<link title="Oo" rel="Chapter" href="Oo.html"> 79<link title="Parse" rel="Chapter" href="Parse.html"> 80<link title="Parser" rel="Chapter" href="Parser.html"> 81<link title="Parsetree" rel="Chapter" href="Parsetree.html"> 82<link title="Parsing" rel="Chapter" href="Parsing.html"> 83<link title="Pervasives" rel="Chapter" href="Pervasives.html"> 84<link title="Pprintast" rel="Chapter" href="Pprintast.html"> 85<link title="Printast" rel="Chapter" href="Printast.html"> 86<link title="Printexc" rel="Chapter" href="Printexc.html"> 87<link title="Printf" rel="Chapter" href="Printf.html"> 88<link title="Queue" rel="Chapter" href="Queue.html"> 89<link title="Random" rel="Chapter" href="Random.html"> 90<link title="Ratio" rel="Chapter" href="Ratio.html"> 91<link title="Scanf" rel="Chapter" href="Scanf.html"> 92<link title="Set" rel="Chapter" href="Set.html"> 93<link title="Sort" rel="Chapter" href="Sort.html"> 94<link title="Spacetime" rel="Chapter" href="Spacetime.html"> 95<link title="Stack" rel="Chapter" href="Stack.html"> 96<link title="StdLabels" rel="Chapter" href="StdLabels.html"> 97<link title="Str" rel="Chapter" href="Str.html"> 98<link title="Stream" rel="Chapter" href="Stream.html"> 99<link title="String" rel="Chapter" href="String.html"> 100<link title="StringLabels" rel="Chapter" href="StringLabels.html"> 101<link title="Strongly_connected_components" rel="Chapter" href="Strongly_connected_components.html"> 102<link title="Syntaxerr" rel="Chapter" href="Syntaxerr.html"> 103<link title="Sys" rel="Chapter" href="Sys.html"> 104<link title="Targetint" rel="Chapter" href="Targetint.html"> 105<link title="Tbl" rel="Chapter" href="Tbl.html"> 106<link title="Terminfo" rel="Chapter" href="Terminfo.html"> 107<link title="Thread" rel="Chapter" href="Thread.html"> 108<link title="ThreadUnix" rel="Chapter" href="ThreadUnix.html"> 109<link title="Timings" rel="Chapter" href="Timings.html"> 110<link title="Uchar" rel="Chapter" href="Uchar.html"> 111<link title="Unix" rel="Chapter" href="Unix.html"> 112<link title="UnixLabels" rel="Chapter" href="UnixLabels.html"> 113<link title="Warnings" rel="Chapter" href="Warnings.html"> 114<link title="Weak" rel="Chapter" href="Weak.html"><title>Ast_helper.Pat</title> 115</head> 116<body> 117<div class="navbar"><a class="pre" href="Ast_helper.Typ.html" title="Ast_helper.Typ">Previous</a> 118 <a class="up" href="Ast_helper.html" title="Ast_helper">Up</a> 119 <a class="post" href="Ast_helper.Exp.html" title="Ast_helper.Exp">Next</a> 120</div> 121<h1>Module <a href="type_Ast_helper.Pat.html">Ast_helper.Pat</a></h1> 122 123<pre><span class="keyword">module</span> Pat: <code class="code"><span class="keyword">sig</span></code> <a href="Ast_helper.Pat.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info module top"> 124Patterns<br> 125</div> 126<hr width="100%"> 127 128<pre><span id="VALmk"><span class="keyword">val</span> mk</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Parsetree.html#TYPEpattern_desc">Parsetree.pattern_desc</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 129<pre><span id="VALattr"><span class="keyword">val</span> attr</span> : <code class="type"><a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> -> <a href="Parsetree.html#TYPEattribute">Parsetree.attribute</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 130<pre><span id="VALany"><span class="keyword">val</span> any</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> unit -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 131<pre><span id="VALvar"><span class="keyword">val</span> var</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Ast_helper.html#TYPEstr">Ast_helper.str</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 132<pre><span id="VALalias"><span class="keyword">val</span> alias</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -><br> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> -> <a href="Ast_helper.html#TYPEstr">Ast_helper.str</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 133<pre><span id="VALconstant"><span class="keyword">val</span> constant</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Parsetree.html#TYPEconstant">Parsetree.constant</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 134<pre><span id="VALinterval"><span class="keyword">val</span> interval</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -><br> <a href="Parsetree.html#TYPEconstant">Parsetree.constant</a> -> <a href="Parsetree.html#TYPEconstant">Parsetree.constant</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 135<pre><span id="VALtuple"><span class="keyword">val</span> tuple</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> list -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 136<pre><span id="VALconstruct"><span class="keyword">val</span> construct</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -><br> <a href="Ast_helper.html#TYPElid">Ast_helper.lid</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> option -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 137<pre><span id="VALvariant"><span class="keyword">val</span> variant</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -><br> <a href="Asttypes.html#TYPElabel">Asttypes.label</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> option -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 138<pre><span id="VALrecord"><span class="keyword">val</span> record</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -><br> (<a href="Ast_helper.html#TYPElid">Ast_helper.lid</a> * <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a>) list -><br> <a href="Asttypes.html#TYPEclosed_flag">Asttypes.closed_flag</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 139<pre><span id="VALarray"><span class="keyword">val</span> array</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> list -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 140<pre><span id="VALor_"><span class="keyword">val</span> or_</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -><br> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 141<pre><span id="VALconstraint_"><span class="keyword">val</span> constraint_</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -><br> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> -> <a href="Parsetree.html#TYPEcore_type">Parsetree.core_type</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 142<pre><span id="VALtype_"><span class="keyword">val</span> type_</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Ast_helper.html#TYPElid">Ast_helper.lid</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 143<pre><span id="VALlazy_"><span class="keyword">val</span> lazy_</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 144<pre><span id="VALunpack"><span class="keyword">val</span> unpack</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Ast_helper.html#TYPEstr">Ast_helper.str</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 145<pre><span id="VALopen_"><span class="keyword">val</span> open_</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -><br> <a href="Ast_helper.html#TYPElid">Ast_helper.lid</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 146<pre><span id="VALexception_"><span class="keyword">val</span> exception_</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre> 147<pre><span id="VALextension"><span class="keyword">val</span> extension</span> : <code class="type">?loc:<a href="Ast_helper.html#TYPEloc">Ast_helper.loc</a> -><br> ?attrs:<a href="Ast_helper.html#TYPEattrs">Ast_helper.attrs</a> -> <a href="Parsetree.html#TYPEextension">Parsetree.extension</a> -> <a href="Parsetree.html#TYPEpattern">Parsetree.pattern</a></code></pre></body></html>