Documentation/Source/eric5.Utilities.ModuleParser.html

changeset 945
8cd4d08fa9f6
parent 767
27554f80d08f
child 1228
7afaf2fca55b
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
97 <td>Constructor</td> 97 <td>Constructor</td>
98 </tr> 98 </tr>
99 </table> 99 </table>
100 <a NAME="Attribute.__init__" ID="Attribute.__init__"></a> 100 <a NAME="Attribute.__init__" ID="Attribute.__init__"></a>
101 <h4>Attribute (Constructor)</h4> 101 <h4>Attribute (Constructor)</h4>
102 <b>Attribute</b>(<i>module, name, file, lineno, isSignal = False</i>) 102 <b>Attribute</b>(<i>module, name, file, lineno, isSignal=False</i>)
103 <p> 103 <p>
104 Constructor 104 Constructor
105 </p><dl> 105 </p><dl>
106 <dt><i>module</i></dt> 106 <dt><i>module</i></dt>
107 <dd> 107 <dd>
297 <td>Public method to store the functions docstring.</td> 297 <td>Public method to store the functions docstring.</td>
298 </tr> 298 </tr>
299 </table> 299 </table>
300 <a NAME="Function.__init__" ID="Function.__init__"></a> 300 <a NAME="Function.__init__" ID="Function.__init__"></a>
301 <h4>Function (Constructor)</h4> 301 <h4>Function (Constructor)</h4>
302 <b>Function</b>(<i>module, name, file, lineno, signature = '', pyqtSignature = None</i>) 302 <b>Function</b>(<i>module, name, file, lineno, signature='', pyqtSignature=None</i>)
303 <p> 303 <p>
304 Constructor 304 Constructor
305 </p><dl> 305 </p><dl>
306 <dt><i>module</i></dt> 306 <dt><i>module</i></dt>
307 <dd> 307 <dd>
416 </dd> 416 </dd>
417 </dl><a NAME="Module.__py_scan" ID="Module.__py_scan"></a> 417 </dl><a NAME="Module.__py_scan" ID="Module.__py_scan"></a>
418 <h4>Module.__py_scan</h4> 418 <h4>Module.__py_scan</h4>
419 <b>__py_scan</b>(<i>src</i>) 419 <b>__py_scan</b>(<i>src</i>)
420 <p> 420 <p>
421 Private method to scan the source text of a Python module and retrieve the 421 Private method to scan the source text of a Python module and retrieve the
422 relevant information. 422 relevant information.
423 </p><dl> 423 </p><dl>
424 <dt><i>src</i></dt> 424 <dt><i>src</i></dt>
425 <dd> 425 <dd>
426 the source text to be scanned (string) 426 the source text to be scanned (string)
437 </dd> 437 </dd>
438 </dl><a NAME="Module.__rb_scan" ID="Module.__rb_scan"></a> 438 </dl><a NAME="Module.__rb_scan" ID="Module.__rb_scan"></a>
439 <h4>Module.__rb_scan</h4> 439 <h4>Module.__rb_scan</h4>
440 <b>__rb_scan</b>(<i>src</i>) 440 <b>__rb_scan</b>(<i>src</i>)
441 <p> 441 <p>
442 Private method to scan the source text of a Python module and retrieve the 442 Private method to scan the source text of a Python module and retrieve the
443 relevant information. 443 relevant information.
444 </p><dl> 444 </p><dl>
445 <dt><i>src</i></dt> 445 <dt><i>src</i></dt>
446 <dd> 446 <dd>
447 the source text to be scanned (string) 447 the source text to be scanned (string)
794 </dl> 794 </dl>
795 <div align="right"><a href="#top">Up</a></div> 795 <div align="right"><a href="#top">Up</a></div>
796 <hr /><hr /> 796 <hr /><hr />
797 <a NAME="readModule" ID="readModule"></a> 797 <a NAME="readModule" ID="readModule"></a>
798 <h2>readModule</h2> 798 <h2>readModule</h2>
799 <b>readModule</b>(<i>module, path = [], inpackage = False, basename = "", extensions = None, caching = True</i>) 799 <b>readModule</b>(<i>module, path=[], inpackage=False, basename="", extensions=None, caching=True</i>)
800 <p> 800 <p>
801 Function to read a module file and parse it. 801 Function to read a module file and parse it.
802 </p><p> 802 </p><p>
803 The module is searched in path and sys.path, read and parsed. 803 The module is searched in path and sys.path, read and parsed.
804 If the module was parsed before, the information is taken 804 If the module was parsed before, the information is taken
836 </dl> 836 </dl>
837 <div align="right"><a href="#top">Up</a></div> 837 <div align="right"><a href="#top">Up</a></div>
838 <hr /><hr /> 838 <hr /><hr />
839 <a NAME="resetParsedModule" ID="resetParsedModule"></a> 839 <a NAME="resetParsedModule" ID="resetParsedModule"></a>
840 <h2>resetParsedModule</h2> 840 <h2>resetParsedModule</h2>
841 <b>resetParsedModule</b>(<i>module, basename = ""</i>) 841 <b>resetParsedModule</b>(<i>module, basename=""</i>)
842 <p> 842 <p>
843 Module function to clear one module from the list of parsed modules. 843 Module function to clear one module from the list of parsed modules.
844 </p><dl> 844 </p><dl>
845 <dt><i>module</i></dt> 845 <dt><i>module</i></dt>
846 <dd> 846 <dd>

eric ide

mercurial