help.html 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <head>
  6. <title>Help</title>
  7. <link rel="stylesheet" href="epydoc.css" type="text/css"></link>
  8. </head>
  9. <body bgcolor="white" text="black" link="blue" vlink="#204080"
  10. alink="#204080">
  11. <!-- =========== START OF NAVBAR =========== -->
  12. <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
  13. <tr valign="center">
  14. <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="bison-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
  15. <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
  16. <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
  17. <th bgcolor="#70b0f0" class="navselect">&nbsp;&nbsp;&nbsp;Help&nbsp;&nbsp;&nbsp;</th>
  18. <th class="navbar" align="right" width="100%">
  19. <table border="0" cellpadding="0" cellspacing="0">
  20. <tr><th class="navbar" align="center">
  21. <p class="nomargin">
  22. PyBison&nbsp;API&nbsp;Reference
  23. </p></th></tr></table>
  24. </th>
  25. </tr>
  26. </table>
  27. <table width="100%" cellpadding="0" cellspacing="0">
  28. <tr valign="top">
  29. <td width="100%">
  30. </td>
  31. <td><table cellpadding="0" cellspacing="0">
  32. <tr><td align="right"><font size="-2">[<a href="../private/help.html">show&nbsp;private</a>&nbsp;|&nbsp;hide&nbsp;private]</font></td></tr>
  33. <tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a>&nbsp;|&nbsp;<a href="help.html" target="_top">no&nbsp;frames</a>]</font></td></tr>
  34. </table></td>
  35. </tr></table>
  36. <center><h2> API Documentation </h2></center>
  37. <p> This document contains the API (Application Programming Interface)
  38. documentation for PyBison API Reference. Documentation for the Python
  39. objects defined by the project is divided into separate pages for each
  40. package, module, and class. The API documentation also includes two
  41. pages containing information about the project as a whole: a trees
  42. page, and an index page. </p>
  43. <h2> Object Documentation </h2>
  44. <p>Each <b>Package Documentation</b> page contains:
  45. <ul>
  46. <li> A description of the package. </li>
  47. <li> A list of the modules and sub-packages contained by the
  48. package. </li>
  49. <li> A summary of the classes defined by the package. </li>
  50. <li> A summary of the functions defined by the package. </li>
  51. <li> A summary of the variables defined by the package. </li>
  52. <li> A detailed description of each function defined by the
  53. package. </li>
  54. <li> A detailed description of each variable defined by the
  55. package. </li>
  56. </ul></p>
  57. <p>Each <b>Module Documentation</b> page contains:
  58. <ul>
  59. <li> A description of the module. </li>
  60. <li> A summary of the classes defined by the module. </li>
  61. <li> A summary of the functions defined by the module. </li>
  62. <li> A summary of the variables defined by the module. </li>
  63. <li> A detailed description of each function defined by the
  64. module. </li>
  65. <li> A detailed description of each variable defined by the
  66. module. </li>
  67. </ul></p>
  68. <p>Each <b>Class Documentation</b> page contains:
  69. <ul>
  70. <li> A class inheritance diagram. </li>
  71. <li> A list of known subclasses. </li>
  72. <li> A description of the class. </li>
  73. <li> A summary of the methods defined by the class. </li>
  74. <li> A summary of the instance variables defined by the class. </li>
  75. <li> A summary of the class (static) variables defined by the
  76. class. </li>
  77. <li> A detailed description of each method defined by the
  78. class. </li>
  79. <li> A detailed description of each instance variable defined by the
  80. class. </li>
  81. <li> A detailed description of each class (static) variable defined
  82. by the class. </li>
  83. </ul></p>
  84. <h2> Project Documentation </h2>
  85. <p> The <b>Trees</b> page contains the module and class hierarchies:
  86. <ul>
  87. <li> The <i>module hierarchy</i> lists every package and module, with
  88. modules grouped into packages. At the top level, and within each
  89. package, modules and sub-packages are listed alphabetically. </li>
  90. <li> The <i>class hierarchy</i> lists every class, grouped by base
  91. class. If a class has more than one base class, then it will be
  92. listed under each base class. At the top level, and under each base
  93. class, classes are listed alphabetically. </li>
  94. </ul></p>
  95. <p> The <b>Index</b> page contains indices of terms and
  96. identifiers:
  97. <ul>
  98. <li> The <i>term index</i> lists every term indexed by any object's
  99. documentation. For each term, the index provides links to each
  100. place where the term is indexed. </li>
  101. <li> The <i>identifier index</i> lists the (short) name of every package,
  102. module, class, method, function, variable, and parameter. For each
  103. identifier, the index provides a short description, and a link to
  104. its documentation. </li>
  105. </ul></p>
  106. <h2> The Table of Contents </h2>
  107. <p> The table of contents occupies the two frames on the left side of
  108. the window. The upper-left frame displays the <i>project
  109. contents</i>, and the lower-left frame displays the <i>module
  110. contents</i>: </p>
  111. <center>
  112. <table class="summary" border="1" cellspacing="0" cellpadding="3">
  113. <tr heigh="30%">
  114. <td align="center">
  115. <font size="-1">Project<br>Contents<hr>...</font></td>
  116. <td align="center" rowspan="2" width="70%">
  117. API<br>Documentation<br>Frame<br><br><br>
  118. </td>
  119. </tr>
  120. <tr>
  121. <td align="center">
  122. <font size="-1">Module<br>Contents<hr>&nbsp;<br>...<br>&nbsp;</font>
  123. </td>
  124. </tr>
  125. </table><br>
  126. </center>
  127. <p> The <b>project contents frame</b> contains a list of all packages
  128. and modules that are defined by the project. Clicking on an entry
  129. will display its contents in the module contents frame. Clicking on a
  130. special entry, labeled "Everything," will display the contents of
  131. the entire project. </p>
  132. <p> The <b>module contents frame</b> contains a list of every
  133. submodule, class, type, exception, function, and variable defined by a
  134. module or package. Clicking on an entry will display its
  135. documentation in the API documentation frame. Clicking on the name of
  136. the module, at the top of the frame, will display the documentation
  137. for the module itself. </p>
  138. <p> The "<b>frames</b>" and "<b>no frames</b>" buttons below the top
  139. navigation bar can be used to control whether the table of contents is
  140. displayed or not. </p>
  141. <h2> The Navigation Bar </h2>
  142. <p> A navigation bar is located at the top and bottom of every page.
  143. It indicates what type of page you are currently viewing, and allows
  144. you to go to related pages. The following table describes the labels
  145. on the navigation bar. Note that not some labels (such as
  146. [Parent]) are not displayed on all pages. </p>
  147. <table class="summary" border="1" cellspacing="0" cellpadding="3" width="100%">
  148. <tr class="summary">
  149. <th>Label</th>
  150. <th>Highlighted when...</th>
  151. <th>Links to...</th>
  152. </tr>
  153. <tr><td valign="top"><b>[Parent]</b></td>
  154. <td valign="top"><i>(never highlighted)</i></td>
  155. <td valign="top"> the parent of the current package </td></tr>
  156. <tr><td valign="top"><b>[Package]</b></td>
  157. <td valign="top">viewing a package</td>
  158. <td valign="top">the package containing the current object
  159. </td></tr>
  160. <tr><td valign="top"><b>[Module]</b></td>
  161. <td valign="top">viewing a module</td>
  162. <td valign="top">the module containing the current object
  163. </td></tr>
  164. <tr><td valign="top"><b>[Class]</b></td>
  165. <td valign="top">viewing a class </td>
  166. <td valign="top">the class containing the current object</td></tr>
  167. <tr><td valign="top"><b>[Trees]</b></td>
  168. <td valign="top">viewing the trees page</td>
  169. <td valign="top"> the trees page </td></tr>
  170. <tr><td valign="top"><b>[Index]</b></td>
  171. <td valign="top">viewing the index page</td>
  172. <td valign="top"> the index page </td></tr>
  173. <tr><td valign="top"><b>[Help]</b></td>
  174. <td valign="top">viewing the help page</td>
  175. <td valign="top"> the help page </td></tr>
  176. </table>
  177. <p> The "<b>show private</b>" and "<b>hide private</b>" buttons below
  178. the top navigation bar can be used to control whether documentation
  179. for private objects is displayed. Private objects are usually defined
  180. as objects whose (short) names begin with a single underscore, but do
  181. not end with an underscore. For example, "<code>_x</code>",
  182. "<code>__pprint</code>", and "<code>epydoc.epytext._tokenize</code>"
  183. are private objects; but "<code>re.sub</code>",
  184. "<code>__init__</code>", and "<code>type_</code>" are not. However,
  185. if a module defines the "<code>__all__</code>" variable, then its
  186. contents are used to decide which objects are private. </p>
  187. <p> A timestamp below the bottom navigation bar indicates when each
  188. page was last updated. </p>
  189. <!-- =========== START OF NAVBAR =========== -->
  190. <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
  191. <tr valign="center">
  192. <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="bison-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
  193. <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
  194. <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
  195. <th bgcolor="#70b0f0" class="navselect">&nbsp;&nbsp;&nbsp;Help&nbsp;&nbsp;&nbsp;</th>
  196. <th class="navbar" align="right" width="100%">
  197. <table border="0" cellpadding="0" cellspacing="0">
  198. <tr><th class="navbar" align="center">
  199. <p class="nomargin">
  200. PyBison&nbsp;API&nbsp;Reference
  201. </p></th></tr></table>
  202. </th>
  203. </tr>
  204. </table>
  205. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  206. <tr>
  207. <td align="left"><font size="-2">Generated by Epydoc 2.0 on Sun Jun 27 12:36:56 2004</font></td>
  208. <td align="right"><a href="http://epydoc.sourceforge.net"
  209. ><font size="-2">http://epydoc.sf.net</font></a></td>
  210. </tr>
  211. </table>
  212. </body>
  213. </html>