src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Simplify.SimplifyNodeVisitor.html

branch
eric7
changeset 11141
2f5f73c51c7c
parent 10479
856476537696
--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Simplify.SimplifyNodeVisitor.html	Mon Feb 17 16:28:25 2025 +0100
+++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Simplify.SimplifyNodeVisitor.html	Mon Feb 17 17:09:25 2025 +0100
@@ -225,6 +225,10 @@
 <td>Private method to check for bare numeric function arguments.</td>
 </tr>
 <tr>
+<td><a href="#SimplifyNodeVisitor.__check411">__check411</a></td>
+<td>Private method to check for nested f-strings.</td>
+</tr>
+<tr>
 <td><a href="#SimplifyNodeVisitor.__check901">__check901</a></td>
 <td>Private method to check for unnecessary bool conversion.</td>
 </tr>
@@ -333,6 +337,10 @@
 <td>Public method to process an IfExp node.</td>
 </tr>
 <tr>
+<td><a href="#SimplifyNodeVisitor.visit_JoinedStr">visit_JoinedStr</a></td>
+<td>Public method to check a joined string node.</td>
+</tr>
+<tr>
 <td><a href="#SimplifyNodeVisitor.visit_Subscript">visit_Subscript</a></td>
 <td>Public method to process a Subscript node.</td>
 </tr>
@@ -991,6 +999,23 @@
 reference to the AST node to be checked
 </dd>
 </dl>
+<a NAME="SimplifyNodeVisitor.__check411" ID="SimplifyNodeVisitor.__check411"></a>
+<h4>SimplifyNodeVisitor.__check411</h4>
+<b>__check411</b>(<i>node</i>)
+<p>
+        Private method to check for nested f-strings.
+</p>
+<p>
+        Note: This method is adapted from flake8-nested-fstrings v1.1.0.
+</p>
+
+<dl>
+
+<dt><i>node</i> (ast.JoinedStr or ast.expr)</dt>
+<dd>
+reference to the AST node to be checked
+</dd>
+</dl>
 <a NAME="SimplifyNodeVisitor.__check901" ID="SimplifyNodeVisitor.__check901"></a>
 <h4>SimplifyNodeVisitor.__check901</h4>
 <b>__check901</b>(<i>node</i>)
@@ -1485,6 +1510,20 @@
 reference to the IfExp node
 </dd>
 </dl>
+<a NAME="SimplifyNodeVisitor.visit_JoinedStr" ID="SimplifyNodeVisitor.visit_JoinedStr"></a>
+<h4>SimplifyNodeVisitor.visit_JoinedStr</h4>
+<b>visit_JoinedStr</b>(<i>node</i>)
+<p>
+        Public method to check a joined string node.
+</p>
+
+<dl>
+
+<dt><i>node</i> (ast.JoinedStr)</dt>
+<dd>
+reference to the node to be processed
+</dd>
+</dl>
 <a NAME="SimplifyNodeVisitor.visit_Subscript" ID="SimplifyNodeVisitor.visit_Subscript"></a>
 <h4>SimplifyNodeVisitor.visit_Subscript</h4>
 <b>visit_Subscript</b>(<i>node</i>)

eric ide

mercurial