src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html

branch
eric7
changeset 10507
d1c6608155ef
parent 10479
856476537696
--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html	Tue Jan 16 14:35:46 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html	Tue Jan 16 18:24:06 2024 +0100
@@ -31,6 +31,10 @@
 <td></td>
 </tr>
 <tr>
+<td><a href="#calcLineRange">calcLineRange</a></td>
+<td>Function to calculate the line range for a subtree.</td>
+</tr>
+<tr>
 <td><a href="#concatString">concatString</a></td>
 <td>Function to build a string from an ast.BinOp chain.</td>
 </tr>
@@ -67,10 +71,6 @@
 <td>Function to get line number range from a node.</td>
 </tr>
 <tr>
-<td><a href="#linerange_fix">linerange_fix</a></td>
-<td>Function to get a line number range working around a known Python bug with multi-line strings.</td>
-</tr>
-<tr>
 <td><a href="#namespacePathJoin">namespacePathJoin</a></td>
 <td>Function to extend a given namespace path.</td>
 </tr>
@@ -121,6 +121,35 @@
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />
+<a NAME="calcLineRange" ID="calcLineRange"></a>
+<h2>calcLineRange</h2>
+<b>calcLineRange</b>(<i>node</i>)
+<p>
+    Function to calculate the line range for a subtree.
+</p>
+
+<dl>
+
+<dt><i>node</i> (ast.AST)</dt>
+<dd>
+node to calculate the line range for
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple containing the start and end line of the subtree
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (int, int)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+<hr />
 <a NAME="concatString" ID="concatString"></a>
 <h2>concatString</h2>
 <b>concatString</b>(<i>node, stop=None</i>)
@@ -450,36 +479,6 @@
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />
-<a NAME="linerange_fix" ID="linerange_fix"></a>
-<h2>linerange_fix</h2>
-<b>linerange_fix</b>(<i>node</i>)
-<p>
-    Function to get a line number range working around a known Python bug
-    with multi-line strings.
-</p>
-
-<dl>
-
-<dt><i>node</i> (ast.AST)</dt>
-<dd>
-node to extract a line range from
-</dd>
-</dl>
-<dl>
-<dt>Return:</dt>
-<dd>
-list containing the line number range
-</dd>
-</dl>
-<dl>
-<dt>Return Type:</dt>
-<dd>
-list of int
-</dd>
-</dl>
-<div align="right"><a href="#top">Up</a></div>
-<hr />
-<hr />
 <a NAME="namespacePathJoin" ID="namespacePathJoin"></a>
 <h2>namespacePathJoin</h2>
 <b>namespacePathJoin</b>(<i>namespace, name</i>)

eric ide

mercurial