Source

json-wheel-custom / html / type_Json_parser.html

Full commit
<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 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>
<code class="code"><span class="keyword">sig</span><br>
&nbsp;&nbsp;<span class="keyword">type</span>&nbsp;token&nbsp;=<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="constructor">STRING</span>&nbsp;<span class="keyword">of</span>&nbsp;(<span class="constructor">Json_type</span>.loc&nbsp;*&nbsp;string)<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">INT</span>&nbsp;<span class="keyword">of</span>&nbsp;(<span class="constructor">Json_type</span>.loc&nbsp;*&nbsp;int)<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">FLOAT</span>&nbsp;<span class="keyword">of</span>&nbsp;(<span class="constructor">Json_type</span>.loc&nbsp;*&nbsp;float)<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">BOOL</span>&nbsp;<span class="keyword">of</span>&nbsp;(<span class="constructor">Json_type</span>.loc&nbsp;*&nbsp;bool)<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OBJSTART</span>&nbsp;<span class="keyword">of</span>&nbsp;<span class="constructor">Json_type</span>.loc<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">OBJEND</span>&nbsp;<span class="keyword">of</span>&nbsp;<span class="constructor">Json_type</span>.loc<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">ARSTART</span>&nbsp;<span class="keyword">of</span>&nbsp;<span class="constructor">Json_type</span>.loc<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">AREND</span>&nbsp;<span class="keyword">of</span>&nbsp;<span class="constructor">Json_type</span>.loc<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">NULL</span>&nbsp;<span class="keyword">of</span>&nbsp;<span class="constructor">Json_type</span>.loc<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">COMMA</span>&nbsp;<span class="keyword">of</span>&nbsp;<span class="constructor">Json_type</span>.loc<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">COLON</span>&nbsp;<span class="keyword">of</span>&nbsp;<span class="constructor">Json_type</span>.loc<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">EOF</span><br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;main&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;(<span class="constructor">Lexing</span>.lexbuf&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Json_parser</span>.token)&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Lexing</span>.lexbuf&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Json_type</span>.t<br>
<span class="keyword">end</span></code></body></html>