64 <tr> |
64 <tr> |
65 <td><a href="#calculateEndline">calculateEndline</a></td> |
65 <td><a href="#calculateEndline">calculateEndline</a></td> |
66 <td>Function to calculate the end line of a class or method/function.</td> |
66 <td>Function to calculate the end line of a class or method/function.</td> |
67 </tr> |
67 </tr> |
68 <tr> |
68 <tr> |
|
69 <td><a href="#clearModulesCache">clearModulesCache</a></td> |
|
70 <td>Function to clear the cached modules.</td> |
|
71 </tr> |
|
72 <tr> |
69 <td><a href="#readmodule_ex">readmodule_ex</a></td> |
73 <td><a href="#readmodule_ex">readmodule_ex</a></td> |
70 <td>Read a module file and return a dictionary of classes.</td> |
74 <td>Read a module file and return a dictionary of classes.</td> |
71 </tr> |
75 </tr> |
72 <tr> |
76 <tr> |
73 <td><a href="#scan">scan</a></td> |
77 <td><a href="#scan">scan</a></td> |
503 <tr><td>None</td></tr> |
507 <tr><td>None</td></tr> |
504 </table> |
508 </table> |
505 <h3>Methods</h3> |
509 <h3>Methods</h3> |
506 |
510 |
507 <table> |
511 <table> |
508 |
512 <tr><td>None</td></tr> |
509 <tr> |
|
510 <td><a href="#Publics.__init__">Publics</a></td> |
|
511 <td>Constructor</td> |
|
512 </tr> |
|
513 </table> |
513 </table> |
514 <h3>Static Methods</h3> |
514 <h3>Static Methods</h3> |
515 |
515 |
516 <table> |
516 <table> |
517 <tr><td>None</td></tr> |
517 <tr><td>None</td></tr> |
518 </table> |
518 </table> |
519 |
519 |
520 <a NAME="Publics.__init__" ID="Publics.__init__"></a> |
|
521 <h4>Publics (Constructor)</h4> |
|
522 <b>Publics</b>(<i>module, file, lineno, idents</i>) |
|
523 |
|
524 <p> |
|
525 Constructor |
|
526 </p> |
|
527 <dl> |
|
528 |
|
529 <dt><i>module</i></dt> |
|
530 <dd> |
|
531 name of the module containing this function |
|
532 </dd> |
|
533 <dt><i>file</i></dt> |
|
534 <dd> |
|
535 filename containing this class |
|
536 </dd> |
|
537 <dt><i>lineno</i></dt> |
|
538 <dd> |
|
539 linenumber of the class definition |
|
540 </dd> |
|
541 <dt><i>idents</i></dt> |
|
542 <dd> |
|
543 list of public identifiers |
|
544 </dd> |
|
545 </dl> |
|
546 <div align="right"><a href="#top">Up</a></div> |
520 <div align="right"><a href="#top">Up</a></div> |
547 <hr /> |
521 <hr /> |
548 <hr /> |
522 <hr /> |
549 <a NAME="VisibilityMixin" ID="VisibilityMixin"></a> |
523 <a NAME="VisibilityMixin" ID="VisibilityMixin"></a> |
550 <h2>VisibilityMixin</h2> |
524 <h2>VisibilityMixin</h2> |
647 </dd> |
621 </dd> |
648 </dl> |
622 </dl> |
649 <div align="right"><a href="#top">Up</a></div> |
623 <div align="right"><a href="#top">Up</a></div> |
650 <hr /> |
624 <hr /> |
651 <hr /> |
625 <hr /> |
|
626 <a NAME="clearModulesCache" ID="clearModulesCache"></a> |
|
627 <h2>clearModulesCache</h2> |
|
628 <b>clearModulesCache</b>(<i></i>) |
|
629 |
|
630 <p> |
|
631 Function to clear the cached modules. |
|
632 </p> |
|
633 <div align="right"><a href="#top">Up</a></div> |
|
634 <hr /> |
|
635 <hr /> |
652 <a NAME="readmodule_ex" ID="readmodule_ex"></a> |
636 <a NAME="readmodule_ex" ID="readmodule_ex"></a> |
653 <h2>readmodule_ex</h2> |
637 <h2>readmodule_ex</h2> |
654 <b>readmodule_ex</b>(<i>module, path=None, inpackage=False, isPyFile=False</i>) |
638 <b>readmodule_ex</b>(<i>module, path=None, isTypeFile=False</i>) |
655 |
639 |
656 <p> |
640 <p> |
657 Read a module file and return a dictionary of classes. |
641 Read a module file and return a dictionary of classes. |
658 </p> |
642 </p> |
659 <p> |
643 <p> |
669 </dd> |
653 </dd> |
670 <dt><i>path</i> (list of str)</dt> |
654 <dt><i>path</i> (list of str)</dt> |
671 <dd> |
655 <dd> |
672 path the module should be searched in |
656 path the module should be searched in |
673 </dd> |
657 </dd> |
674 <dt><i>inpackage</i> (bool)</dt> |
658 <dt><i>isTypeFile</i> (bool)</dt> |
675 <dd> |
659 <dd> |
676 flag indicating a module inside a package is scanned |
660 flag indicating a file of this type |
677 </dd> |
|
678 <dt><i>isPyFile</i> (bool)</dt> |
|
679 <dd> |
|
680 flag indicating a Python file |
|
681 </dd> |
661 </dd> |
682 </dl> |
662 </dl> |
683 <dl> |
663 <dl> |
684 <dt>Return:</dt> |
664 <dt>Return:</dt> |
685 <dd> |
665 <dd> |