Source

json-wheel-custom / html / Json_parser.html

Full commit
<!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="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Json_parser" rel="Chapter" href="Json_parser.html"><title>Json_parser</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="index.html">Up</a>
&nbsp;</div>
<center><h1>Module <a href="type_Json_parser.html">Json_parser</a></h1></center>
<br>
<pre><span class="keyword">module</span> Json_parser: <code class="code">sig</code> <a href="Json_parser.html">..</a> <code class="code">end</code></pre><hr width="100%">
<br><code><span class="keyword">type</span> <a name="TYPEtoken"></a><code class="type"></code>token = </code><table class="typetable">
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">STRING</span> <span class="keyword">of</span> <code class="type">(Json_type.loc * string)</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">INT</span> <span class="keyword">of</span> <code class="type">(Json_type.loc * int)</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">FLOAT</span> <span class="keyword">of</span> <code class="type">(Json_type.loc * float)</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">BOOL</span> <span class="keyword">of</span> <code class="type">(Json_type.loc * bool)</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">OBJSTART</span> <span class="keyword">of</span> <code class="type">Json_type.loc</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">OBJEND</span> <span class="keyword">of</span> <code class="type">Json_type.loc</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">ARSTART</span> <span class="keyword">of</span> <code class="type">Json_type.loc</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">AREND</span> <span class="keyword">of</span> <code class="type">Json_type.loc</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">NULL</span> <span class="keyword">of</span> <code class="type">Json_type.loc</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">COMMA</span> <span class="keyword">of</span> <code class="type">Json_type.loc</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">COLON</span> <span class="keyword">of</span> <code class="type">Json_type.loc</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">EOF</span></code></td>

</tr></table>


<pre><span class="keyword">val</span> <a name="VALmain"></a>main : <code class="type">(Lexing.lexbuf -> <a href="Json_parser.html#TYPEtoken">token</a>) -> Lexing.lexbuf -> Json_type.t</code></pre></body></html>