advtrains_doc_integration.bc.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  5. <head>
  6. <title>Manual for advtrains_doc_integration</title>
  7. <link rel="stylesheet" href="../ldoc.css" type="text/css" />
  8. </head>
  9. <body>
  10. <div id="container">
  11. <div id="product">
  12. <div id="product_logo"></div>
  13. <div id="product_name"><big><b></b></big></div>
  14. <div id="product_description"></div>
  15. </div> <!-- id="product" -->
  16. <div id="main">
  17. <!-- Menu -->
  18. <div id="navigation">
  19. <br/>
  20. <h1>Documentation System Integration for Advtrains</h1>
  21. <ul>
  22. <li><a href="../index.html">Index</a></li>
  23. </ul>
  24. <h2>Contents</h2>
  25. <ul>
  26. <li><a href="#Functions">Functions</a></li>
  27. </ul>
  28. <h2>Modules</h2>
  29. <ul class="nowrap">
  30. <li><strong>advtrains_doc_integration.bc</strong></li>
  31. <li><a href="../modules/advtrains_doc_integration.describe.html">advtrains_doc_integration.describe</a></li>
  32. <li><a href="../modules/advtrains_doc_integration.hypertext.html">advtrains_doc_integration.hypertext</a></li>
  33. <li><a href="../modules/advtrains_doc_integration.html">advtrains_doc_integration</a></li>
  34. <li><a href="../modules/advtrains_doc_integration.latex.html">advtrains_doc_integration.latex</a></li>
  35. <li><a href="../modules/advtrains_doc_integration.mathutils.html">advtrains_doc_integration.mathutils</a></li>
  36. <li><a href="../modules/advtrains_doc_integration.utils.html">advtrains_doc_integration.utils</a></li>
  37. </ul>
  38. <h2>Topics</h2>
  39. <ul class="">
  40. <li><a href="../topics/README.md.html">README</a></li>
  41. </ul>
  42. </div>
  43. <div id="content">
  44. <h1>Module <code>advtrains_doc_integration.bc</code></h1>
  45. <p>Bytecode parsing.</p>
  46. <p> Please note that this module is experimental and subject to change.</p>
  47. <h2><a href="#Functions">Functions</a></h2>
  48. <table class="function_list">
  49. <tr>
  50. <td class="name" nowrap><a href="#parse">parse (dump)</a></td>
  51. <td class="summary">Try to parse a bytecode dump.</td>
  52. </tr>
  53. <tr>
  54. <td class="name" nowrap><a href="#tostring">tostring (dump)</a></td>
  55. <td class="summary">Try to format a bytecode dump.</td>
  56. </tr>
  57. </table>
  58. <br/>
  59. <br/>
  60. <h2 class="section-header "><a name="Functions"></a>Functions</h2>
  61. <dl class="function">
  62. <dt>
  63. <a name = "parse"></a>
  64. <strong>parse (dump)</strong>
  65. </dt>
  66. <dd>
  67. Try to parse a bytecode dump.
  68. <h3>Parameters:</h3>
  69. <ul>
  70. <li><span class="parameter">dump</span>
  71. <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>
  72. The bytecode input or the function to read.
  73. </li>
  74. </ul>
  75. <h3>Returns:</h3>
  76. <ol>
  77. <li>
  78. "luajit" If <code>dump</code> is valid LuaJIT bytecode.</li>
  79. <li>
  80. <span class="types"><span class="type">...</span></span>
  81. Data parsed from the bytecode.</li>
  82. </ol>
  83. <h3>Or</h3>
  84. <ol>
  85. <li>
  86. <span class="types"><span class="type">nil</span></span>
  87. If the dump cannot be parsed.</li>
  88. <li>
  89. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  90. A message indicating the error.</li>
  91. </ol>
  92. </dd>
  93. <dt>
  94. <a name = "tostring"></a>
  95. <strong>tostring (dump)</strong>
  96. </dt>
  97. <dd>
  98. Try to format a bytecode dump.
  99. <h3>Parameters:</h3>
  100. <ul>
  101. <li><span class="parameter">dump</span>
  102. <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>
  103. The bytecode input of the function to read.
  104. </li>
  105. </ul>
  106. <h3>Returns:</h3>
  107. <ol>
  108. <li>
  109. "luajit" If <code>dump</code> is valid LuaJIT bytecode.</li>
  110. <li>
  111. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  112. A string describing the bytecode dump. The format is similar to that of <code>luajit -bl</code></li>
  113. </ol>
  114. <h3>Or</h3>
  115. <ol>
  116. <li>
  117. <span class="types"><span class="type">nil</span></span>
  118. If the dump cannot be parsed.</li>
  119. <li>
  120. <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
  121. A message indicating the error.</li>
  122. </ol>
  123. </dd>
  124. </dl>
  125. </div> <!-- id="content" -->
  126. </div> <!-- id="main" -->
  127. <div id="about">
  128. <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
  129. <i style="float:right;">Last updated 2024-01-29 22:34:40 </i>
  130. </div> <!-- id="about" -->
  131. </div> <!-- id="container" -->
  132. </body>
  133. </html>