123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <head>
- <title>Manual for advtrains_doc_integration</title>
- <link rel="stylesheet" href="../ldoc.css" type="text/css" />
- </head>
- <body>
- <div id="container">
- <div id="product">
- <div id="product_logo"></div>
- <div id="product_name"><big><b></b></big></div>
- <div id="product_description"></div>
- </div> <!-- id="product" -->
- <div id="main">
- <!-- Menu -->
- <div id="navigation">
- <br/>
- <h1>Documentation System Integration for Advtrains</h1>
- <ul>
- <li><a href="../index.html">Index</a></li>
- </ul>
- <h2>Contents</h2>
- <ul>
- <li><a href="#Functions">Functions</a></li>
- </ul>
- <h2>Modules</h2>
- <ul class="nowrap">
- <li><strong>advtrains_doc_integration.bc</strong></li>
- <li><a href="../modules/advtrains_doc_integration.describe.html">advtrains_doc_integration.describe</a></li>
- <li><a href="../modules/advtrains_doc_integration.hypertext.html">advtrains_doc_integration.hypertext</a></li>
- <li><a href="../modules/advtrains_doc_integration.html">advtrains_doc_integration</a></li>
- <li><a href="../modules/advtrains_doc_integration.latex.html">advtrains_doc_integration.latex</a></li>
- <li><a href="../modules/advtrains_doc_integration.mathutils.html">advtrains_doc_integration.mathutils</a></li>
- <li><a href="../modules/advtrains_doc_integration.utils.html">advtrains_doc_integration.utils</a></li>
- </ul>
- <h2>Topics</h2>
- <ul class="">
- <li><a href="../topics/README.md.html">README</a></li>
- </ul>
- </div>
- <div id="content">
- <h1>Module <code>advtrains_doc_integration.bc</code></h1>
- <p>Bytecode parsing.</p>
- <p> Please note that this module is experimental and subject to change.</p>
- <h2><a href="#Functions">Functions</a></h2>
- <table class="function_list">
- <tr>
- <td class="name" nowrap><a href="#parse">parse (dump)</a></td>
- <td class="summary">Try to parse a bytecode dump.</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#tostring">tostring (dump)</a></td>
- <td class="summary">Try to format a bytecode dump.</td>
- </tr>
- </table>
- <br/>
- <br/>
- <h2 class="section-header "><a name="Functions"></a>Functions</h2>
- <dl class="function">
- <dt>
- <a name = "parse"></a>
- <strong>parse (dump)</strong>
- </dt>
- <dd>
- Try to parse a bytecode dump.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">dump</span>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a> or <span class="type">function</span></span>
- The bytecode input or the function to read.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <li>
- "luajit" If <code>dump</code> is valid LuaJIT bytecode.</li>
- <li>
- <span class="types"><span class="type">...</span></span>
- Data parsed from the bytecode.</li>
- </ol>
- <h3>Or</h3>
- <ol>
- <li>
- <span class="types"><span class="type">nil</span></span>
- If the dump cannot be parsed.</li>
- <li>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- A message indicating the error.</li>
- </ol>
- </dd>
- <dt>
- <a name = "tostring"></a>
- <strong>tostring (dump)</strong>
- </dt>
- <dd>
- Try to format a bytecode dump.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">dump</span>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a> or <span class="type">function</span></span>
- The bytecode input of the function to read.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <li>
- "luajit" If <code>dump</code> is valid LuaJIT bytecode.</li>
- <li>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- A string describing the bytecode dump. The format is similar to that of <code>luajit -bl</code></li>
- </ol>
- <h3>Or</h3>
- <ol>
- <li>
- <span class="types"><span class="type">nil</span></span>
- If the dump cannot be parsed.</li>
- <li>
- <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
- A message indicating the error.</li>
- </ol>
- </dd>
- </dl>
- </div> <!-- id="content" -->
- </div> <!-- id="main" -->
- <div id="about">
- <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
- <i style="float:right;">Last updated 2024-01-29 22:34:40 </i>
- </div> <!-- id="about" -->
- </div> <!-- id="container" -->
- </body>
- </html>
|