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

changeset 7699
d338c533f5f0
parent 7641
21ea4fd50b0a
child 7900
72b88fb20261
diff -r 12cb12380a6a -r d338c533f5f0 eric6/Documentation/Source/eric6.Utilities.ModuleParser.html
--- a/eric6/Documentation/Source/eric6.Utilities.ModuleParser.html	Wed Sep 09 18:07:21 2020 +0200
+++ b/eric6/Documentation/Source/eric6.Utilities.ModuleParser.html	Fri Sep 11 17:28:59 2020 +0200
@@ -581,6 +581,10 @@
 <td>Public method to assemble the inheritance hierarchy.</td>
 </tr>
 <tr>
+<td><a href="#Module.calculateEndline">calculateEndline</a></td>
+<td>Function to calculate the end line of a class or method/function.</td>
+</tr>
+<tr>
 <td><a href="#Module.createHierarchy">createHierarchy</a></td>
 <td>Public method to build the inheritance hierarchy for all classes of this module.</td>
 </tr>
@@ -816,6 +820,40 @@
 The resultant hierarchy
 </dd>
 </dl>
+<a NAME="Module.calculateEndline" ID="Module.calculateEndline"></a>
+<h4>Module.calculateEndline</h4>
+<b>calculateEndline</b>(<i>lines, indent</i>)
+
+<p>
+            Function to calculate the end line of a class or method/function.
+</p>
+<dl>
+
+<dt><i>lineno</i> (int)</dt>
+<dd>
+line number to start at (one based)
+</dd>
+<dt><i>lines</i> (list of str)</dt>
+<dd>
+list of source lines
+</dd>
+<dt><i>indent</i> (int)</dt>
+<dd>
+indent length the class/method/function definition
+</dd>
+</dl>
+<dl>
+<dt>Returns:</dt>
+<dd>
+end line of the class/method/function (one based)
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+int
+</dd>
+</dl>
 <a NAME="Module.createHierarchy" ID="Module.createHierarchy"></a>
 <h4>Module.createHierarchy</h4>
 <b>createHierarchy</b>(<i></i>)

eric ide

mercurial