<!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="Licenses.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="Tables" rel="Chapter" href="Tables.html"> <link title="Licenses" rel="Chapter" href="Licenses.html"> <link title="Utils" rel="Chapter" href="Utils.html"> <link title="Base64" rel="Chapter" href="Base64.html"> <link title="Args" rel="Chapter" href="Args.html"> <link title="Definitions" rel="Chapter" href="Definitions.html"> <link title="Icons" rel="Chapter" href="Icons.html"> <link title="Main" rel="Chapter" href="Main.html"> <link title="DefinitionLexer" rel="Chapter" href="DefinitionLexer.html"> <link title="Search_js" rel="Chapter" href="Search_js.html"> <link title="DefinitionParser" rel="Chapter" href="DefinitionParser.html"> <link title="Search" rel="Chapter" href="Search.html"> <link title="Version" rel="Chapter" href="Version.html"><title>Tables</title> </head> <body> <div class="navbar"> <a class="up" href="index.html" title="Index">Up</a> <a class="post" href="Licenses.html" title="Licenses">Next</a> </div> <h1>Module <a href="type_Tables.html">Tables</a></h1> <pre><span class="keyword">module</span> Tables: <code class="code">sig</code> <a href="Tables.html">..</a> <code class="code">end</code></pre><div class="info module top"> Support for tables.<br> </div> <hr width="100%"> <pre><span id="VALcss"><span class="keyword">val</span> css</span> : <code class="type">string list</code></pre><div class="info "> The piece of CSS used for tables.<br> </div> <pre><span id="TYPEstate"><span class="keyword">type</span> <code class="type"></code>state</span> </pre> <div class="info "> The state of (possibly embedded) tables.<br> </div> <pre><span id="VALmake_state"><span class="keyword">val</span> make_state</span> : <code class="type">unit -> <a href="Tables.html#TYPEstate">state</a></code></pre><div class="info "> Creates an empty state containing no table.<br> </div> <pre><span id="VALbegin_table"><span class="keyword">val</span> begin_table</span> : <code class="type"><a href="Tables.html#TYPEstate">state</a> -> unit</code></pre><div class="info "> To be called when a new table begins.<br> </div> <pre><span id="VALend_table"><span class="keyword">val</span> end_table</span> : <code class="type"><a href="Tables.html#TYPEstate">state</a> -> unit</code></pre><div class="info "> To be called when the current table ends.<br> </div> <pre><span id="VALbegin_row"><span class="keyword">val</span> begin_row</span> : <code class="type"><a href="Tables.html#TYPEstate">state</a> -> unit</code></pre><div class="info "> To be called when a new row begins.<br> </div> <pre><span id="VALend_row"><span class="keyword">val</span> end_row</span> : <code class="type"><a href="Tables.html#TYPEstate">state</a> -> unit</code></pre><div class="info "> To be called when the current row ends. <p> Will issue a warning if the current table is ill-formed.<br> </div> <pre><span id="VALadd_cell"><span class="keyword">val</span> add_cell</span> : <code class="type"><a href="Tables.html#TYPEstate">state</a> -> unit</code></pre><div class="info "> To be called to notify the presence of a cell on the current row.<br> </div> <pre><span id="VALadd_cells"><span class="keyword">val</span> add_cells</span> : <code class="type">int -> <a href="Tables.html#TYPEstate">state</a> -> unit</code></pre><div class="info "> To be called to notify the presence of several cells on the current row.<br> </div> </body></html>