Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 907b2e04e547936247d272a04226e524 > files > 134

ocaml-camomile-devel-0.7.2-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="Up" href="SubText.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="CaseMap" rel="Chapter" href="CaseMap.html">
<link title="CharEncoding" rel="Chapter" href="CharEncoding.html">
<link title="Default" rel="Chapter" href="Default.html">
<link title="IMap" rel="Chapter" href="IMap.html">
<link title="ISet" rel="Chapter" href="ISet.html">
<link title="Locale" rel="Chapter" href="Locale.html">
<link title="Main" rel="Chapter" href="Main.html">
<link title="OOChannel" rel="Chapter" href="OOChannel.html">
<link title="SubText" rel="Chapter" href="SubText.html">
<link title="UCS4" rel="Chapter" href="UCS4.html">
<link title="UChar" rel="Chapter" href="UChar.html">
<link title="UCharInfo" rel="Chapter" href="UCharInfo.html">
<link title="UCharTbl" rel="Chapter" href="UCharTbl.html">
<link title="UCol" rel="Chapter" href="UCol.html">
<link title="ULine" rel="Chapter" href="ULine.html">
<link title="UMap" rel="Chapter" href="UMap.html">
<link title="UNF" rel="Chapter" href="UNF.html">
<link title="UPervasives" rel="Chapter" href="UPervasives.html">
<link title="URe" rel="Chapter" href="URe.html">
<link title="UReStr" rel="Chapter" href="UReStr.html">
<link title="USet" rel="Chapter" href="USet.html">
<link title="UTF16" rel="Chapter" href="UTF16.html">
<link title="UTF8" rel="Chapter" href="UTF8.html">
<link title="UText" rel="Chapter" href="UText.html">
<link title="UnicodeString" rel="Chapter" href="UnicodeString.html">
<link title="XArray" rel="Chapter" href="XArray.html">
<link title="XString" rel="Chapter" href="XString.html"><title>SubText.Make</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="SubText.html">Up</a>
&nbsp;</div>
<center><h1>Functor <a href="type_SubText.Make.html">SubText.Make</a></h1></center>
<br>
<pre><span class="keyword">module</span> Make: <div class="sig_block"><code class="code">functor (</code><code class="code">Text</code><code class="code"> : </code><code class="type"><a href="UnicodeString.Type.html">UnicodeString.Type</a></code><code class="code">) -&gt; </code><code class="type"><a href="SubText.Type.html">Type</a></code><code class="type">  with type ur_text = Text.t and type ur_index = Text.index</code></div></pre><table border="0" cellpadding="3" width="100%">
<tr>
<td align="left" valign="top" width="1%%"><b>Parameters: </b></td>
<td>
<table class="paramstable">
<tr>
<td align="center" valign="top" width="15%">
<code>Text</code></td>
<td align="center" valign="top">:</td>
<td><code class="type"><a href="UnicodeString.Type.html">UnicodeString.Type</a></code>
</table>
</td>
</tr>
</table>
<hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre>

<pre><span class="keyword">val</span> <a name="VALget"></a>get : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> int -> <a href="UChar.html#TYPEt">UChar.t</a></code></pre><pre><span class="keyword">val</span> <a name="VALinit"></a>init : <code class="type">int -> (int -> <a href="UChar.html#TYPEt">UChar.t</a>) -> <a href="SubText.Type.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALlength"></a>length : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">type</span> <a name="TYPEindex"></a><code class="type"></code>index </pre>

<pre><span class="keyword">val</span> <a name="VALlook"></a>look : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a> -> <a href="UChar.html#TYPEt">UChar.t</a></code></pre><pre><span class="keyword">val</span> <a name="VALnth"></a>nth : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> int -> <a href="SubText.Type.html#TYPEindex">index</a></code></pre><pre><span class="keyword">val</span> <a name="VALfirst"></a>first : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a></code></pre><pre><span class="keyword">val</span> <a name="VALlast"></a>last : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a></code></pre><pre><span class="keyword">val</span> <a name="VALnext"></a>next : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a> -> <a href="SubText.Type.html#TYPEindex">index</a></code></pre><pre><span class="keyword">val</span> <a name="VALprev"></a>prev : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a> -> <a href="SubText.Type.html#TYPEindex">index</a></code></pre><pre><span class="keyword">val</span> <a name="VALmove"></a>move : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a> -> int -> <a href="SubText.Type.html#TYPEindex">index</a></code></pre><pre><span class="keyword">val</span> <a name="VALout_of_range"></a>out_of_range : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a> -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALcompare_index"></a>compare_index : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a> -> <a href="SubText.Type.html#TYPEindex">index</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALiter"></a>iter : <code class="type">(<a href="UChar.html#TYPEt">UChar.t</a> -> unit) -> <a href="SubText.Type.html#TYPEt">t</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALcompare"></a>compare : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">module</span> <a href="SubText.Type.Buf.html">Buf</a>: <code class="code">sig</code> <a href="SubText.Type.Buf.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">type</span> <a name="TYPEur_text"></a><code class="type"></code>ur_text </pre>
<div class="info">
The type of original texts.<br>
</div>

<pre><span class="keyword">type</span> <a name="TYPEur_index"></a><code class="type"></code>ur_index </pre>
<div class="info">
The type of indexes of original texts.<br>
</div>

<pre><span class="keyword">val</span> <a name="VALrefer"></a>refer : <code class="type"><a href="SubText.Type.html#TYPEur_text">ur_text</a> -><br>       <a href="SubText.Type.html#TYPEur_index">ur_index</a> -> <a href="SubText.Type.html#TYPEur_index">ur_index</a> -> <a href="SubText.Type.html#TYPEt">t</a></code></pre><div class="info">
<code class="code">refer t i j</code> returns the part of <code class="code">t</code> from <code class="code">i</code> until <code class="code">j</code>.
   The character pointed by <code class="code">j</code> is not included in the result.
   If <code class="code">j</code> is equal to <code class="code">i</code> or located before <code class="code">j</code>, the result is
   an empty string.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALexcerpt"></a>excerpt : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEur_text">ur_text</a></code></pre><div class="info">
<code class="code">excerpt t</code> copies the contents of <code class="code">t</code> as a new ur_text.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALcontext"></a>context : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -><br>       <a href="SubText.Type.html#TYPEur_text">ur_text</a> * <a href="SubText.Type.html#TYPEur_index">ur_index</a> * <a href="SubText.Type.html#TYPEur_index">ur_index</a></code></pre><div class="info">
<code class="code">context t</code> returns the tuple <code class="code">(s, i, j)</code> such that
   <code class="code">t = refer s i j</code>.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALur_index_of"></a>ur_index_of : <code class="type"><a href="SubText.Type.html#TYPEt">t</a> -> <a href="SubText.Type.html#TYPEindex">index</a> -> <a href="SubText.Type.html#TYPEur_index">ur_index</a></code></pre><div class="info">
Conversion from indexes of sub-texts to ur_texts.<br>
</div>
</body></html>