eric6/Documentation/Source/eric6.Utilities.ModuleParser.html

changeset 7699
d338c533f5f0
parent 7641
21ea4fd50b0a
child 7900
72b88fb20261
equal deleted inserted replaced
7698:12cb12380a6a 7699:d338c533f5f0
579 <tr> 579 <tr>
580 <td><a href="#Module.assembleHierarchy">assembleHierarchy</a></td> 580 <td><a href="#Module.assembleHierarchy">assembleHierarchy</a></td>
581 <td>Public method to assemble the inheritance hierarchy.</td> 581 <td>Public method to assemble the inheritance hierarchy.</td>
582 </tr> 582 </tr>
583 <tr> 583 <tr>
584 <td><a href="#Module.calculateEndline">calculateEndline</a></td>
585 <td>Function to calculate the end line of a class or method/function.</td>
586 </tr>
587 <tr>
584 <td><a href="#Module.createHierarchy">createHierarchy</a></td> 588 <td><a href="#Module.createHierarchy">createHierarchy</a></td>
585 <td>Public method to build the inheritance hierarchy for all classes of this module.</td> 589 <td>Public method to build the inheritance hierarchy for all classes of this module.</td>
586 </tr> 590 </tr>
587 <tr> 591 <tr>
588 <td><a href="#Module.getFileName">getFileName</a></td> 592 <td><a href="#Module.getFileName">getFileName</a></td>
812 816
813 </dd> 817 </dd>
814 <dt><i>result</i></dt> 818 <dt><i>result</i></dt>
815 <dd> 819 <dd>
816 The resultant hierarchy 820 The resultant hierarchy
821 </dd>
822 </dl>
823 <a NAME="Module.calculateEndline" ID="Module.calculateEndline"></a>
824 <h4>Module.calculateEndline</h4>
825 <b>calculateEndline</b>(<i>lines, indent</i>)
826
827 <p>
828 Function to calculate the end line of a class or method/function.
829 </p>
830 <dl>
831
832 <dt><i>lineno</i> (int)</dt>
833 <dd>
834 line number to start at (one based)
835 </dd>
836 <dt><i>lines</i> (list of str)</dt>
837 <dd>
838 list of source lines
839 </dd>
840 <dt><i>indent</i> (int)</dt>
841 <dd>
842 indent length the class/method/function definition
843 </dd>
844 </dl>
845 <dl>
846 <dt>Returns:</dt>
847 <dd>
848 end line of the class/method/function (one based)
849 </dd>
850 </dl>
851 <dl>
852 <dt>Return Type:</dt>
853 <dd>
854 int
817 </dd> 855 </dd>
818 </dl> 856 </dl>
819 <a NAME="Module.createHierarchy" ID="Module.createHierarchy"></a> 857 <a NAME="Module.createHierarchy" ID="Module.createHierarchy"></a>
820 <h4>Module.createHierarchy</h4> 858 <h4>Module.createHierarchy</h4>
821 <b>createHierarchy</b>(<i></i>) 859 <b>createHierarchy</b>(<i></i>)

eric ide

mercurial