<!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 exceptions" rel=Appendix href="index_exceptions.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="Bnf_spec" rel="Chapter" href="Bnf_spec.html"> <link title="Bnf_parser" rel="Chapter" href="Bnf_parser.html"> <link title="Bnf_lexer" rel="Chapter" href="Bnf_lexer.html"> <link title="Bnf_pp" rel="Chapter" href="Bnf_pp.html"> <link title="Cfg_intf" rel="Chapter" href="Cfg_intf.html"> <link title="Cfg_impl" rel="Chapter" href="Cfg_impl.html"><title>Cfg_intf.SPEC</title> </head> <body> <div class="navbar"> <a class="up" href="Cfg_intf.html" title="Cfg_intf">Up</a> <a class="post" href="Cfg_intf.CFG.html" title="Cfg_intf.CFG">Next</a> </div> <h1>Module type <a href="type_Cfg_intf.SPEC.html">Cfg_intf.SPEC</a></h1> <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><div class="info modtype top"> Specification of grammar entities<br> </div> <hr width="100%"> <pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre> <div class="info "> Terminals<br> </div> <pre><span id="TYPEnt"><span class="keyword">type</span> <code class="type"></code>nt</span> </pre> <div class="info "> Nonterminals<br> </div> <pre><span id="TYPEprod"><span class="keyword">type</span> <code class="type"></code>prod</span> </pre> <div class="info "> Productions<br> </div> <pre><code><span id="TYPEsymbol"><span class="keyword">type</span> <code class="type"></code>symbol</span> = </code></pre><table class="typetable"> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span id="TYPEELTsymbol.NT"><span class="constructor">NT</span></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 id="TYPEELTsymbol.T"><span class="constructor">T</span></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 id="VALcompare_t"><span class="keyword">val</span> compare_t</span> : <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 id="VALcompare_nt"><span class="keyword">val</span> compare_nt</span> : <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 id="VALcompare_prod"><span class="keyword">val</span> compare_prod</span> : <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>