<!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="next" href="Cfg_intf.CFG.html"> <link rel="Up" href="Cfg_intf.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="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Cfg_intf" rel="Chapter" href="Cfg_intf.html"> <link title="Cfg_impl" rel="Chapter" href="Cfg_impl.html"> <link title="Bnf_spec" rel="Chapter" href="Bnf_spec.html"> <link title="Bnf_pp" rel="Chapter" href="Bnf_pp.html"><title>Cfg_intf.SPEC</title> </head> <body> <div class="navbar"> <a href="Cfg_intf.html">Up</a> <a href="Cfg_intf.CFG.html">Next</a> </div> <center><h1>Module type <a href="type_Cfg_intf.SPEC.html">Cfg_intf.SPEC</a></h1></center> <br> <pre><span class="keyword">module type</span> SPEC = <code class="code">sig</code> <a href="Cfg_intf.SPEC.html">..</a> <code class="code">end</code></pre>Specification of grammar entities<br> <hr width="100%"> <pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre> <div class="info"> Terminals<br> </div> <pre><span class="keyword">type</span> <a name="TYPEnt"></a><code class="type"></code>nt </pre> <div class="info"> Nonterminals<br> </div> <pre><span class="keyword">type</span> <a name="TYPEprod"></a><code class="type"></code>prod </pre> <div class="info"> Productions<br> </div> <br><code><span class="keyword">type</span> <a name="TYPEsymbol"></a><code class="type"></code>symbol = </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">NT</span> <span class="keyword">of</span> <code class="type"><a href="Cfg_intf.SPEC.html#TYPEnt">nt</a></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">T</span> <span class="keyword">of</span> <code class="type"><a href="Cfg_intf.SPEC.html#TYPEt">t</a></code></code></td> </tr></table> <pre><span class="keyword">val</span> <a name="VALcompare_t"></a>compare_t : <code class="type"><a href="Cfg_intf.SPEC.html#TYPEt">t</a> -> <a href="Cfg_intf.SPEC.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALcompare_nt"></a>compare_nt : <code class="type"><a href="Cfg_intf.SPEC.html#TYPEnt">nt</a> -> <a href="Cfg_intf.SPEC.html#TYPEnt">nt</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALcompare_prod"></a>compare_prod : <code class="type"><a href="Cfg_intf.SPEC.html#TYPEprod">prod</a> -> <a href="Cfg_intf.SPEC.html#TYPEprod">prod</a> -> int</code></pre></body></html>