eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html

changeset 7651
ca87b7490449
parent 7291
f689a4dcaf62
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html	Mon Jul 27 19:15:26 2020 +0200
+++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html	Wed Jul 29 17:37:09 2020 +0200
@@ -125,6 +125,10 @@
 <td>Public method to handle assignments.</td>
 </tr>
 <tr>
+<td><a href="#BugBearVisitor.visit_AsyncFor">visit_AsyncFor</a></td>
+<td>Public method to handle 'for' statements.</td>
+</tr>
+<tr>
 <td><a href="#BugBearVisitor.visit_Attribute">visit_Attribute</a></td>
 <td>Public method to handle attributes.</td>
 </tr>
@@ -228,6 +232,20 @@
 reference to the node to be processed
 </dd>
 </dl>
+<a NAME="BugBearVisitor.visit_AsyncFor" ID="BugBearVisitor.visit_AsyncFor"></a>
+<h4>BugBearVisitor.visit_AsyncFor</h4>
+<b>visit_AsyncFor</b>(<i>node</i>)
+
+<p>
+        Public method to handle 'for' statements.
+</p>
+<dl>
+
+<dt><i>node</i> (ast.AsyncFor)</dt>
+<dd>
+reference to the node to be processed
+</dd>
+</dl>
 <a NAME="BugBearVisitor.visit_Attribute" ID="BugBearVisitor.visit_Attribute"></a>
 <h4>BugBearVisitor.visit_Attribute</h4>
 <b>visit_Attribute</b>(<i>node</i>)
@@ -1268,6 +1286,10 @@
 <td>Private method to check for references before a following assign statement.</td>
 </tr>
 <tr>
+<td><a href="#ReturnVisitor.__isFalse">__isFalse</a></td>
+<td>Private method to check, if a node value is False.</td>
+</tr>
+<tr>
 <td><a href="#ReturnVisitor.__isNone">__isNone</a></td>
 <td>Private method to check, if a node value is None.</td>
 </tr>
@@ -1280,6 +1302,10 @@
 <td>Private method to handle an assign target node.</td>
 </tr>
 <tr>
+<td><a href="#ReturnVisitor.__visitLoop">__visitLoop</a></td>
+<td>Private method to handle loop nodes.</td>
+</tr>
+<tr>
 <td><a href="#ReturnVisitor.__visitWithStack">__visitWithStack</a></td>
 <td>Private method to traverse a given function node using a stack.</td>
 </tr>
@@ -1300,10 +1326,18 @@
 <td>Public method to handle an assign node.</td>
 </tr>
 <tr>
+<td><a href="#ReturnVisitor.visit_AsyncFor">visit_AsyncFor</a></td>
+<td>Public method to handle an async for loop.</td>
+</tr>
+<tr>
 <td><a href="#ReturnVisitor.visit_AsyncFunctionDef">visit_AsyncFunctionDef</a></td>
 <td>Public method to handle a function definition.</td>
 </tr>
 <tr>
+<td><a href="#ReturnVisitor.visit_For">visit_For</a></td>
+<td>Public method to handle a for loop.</td>
+</tr>
+<tr>
 <td><a href="#ReturnVisitor.visit_FunctionDef">visit_FunctionDef</a></td>
 <td>Public method to handle a function definition.</td>
 </tr>
@@ -1315,6 +1349,10 @@
 <td><a href="#ReturnVisitor.visit_Return">visit_Return</a></td>
 <td>Public method to handle a return node.</td>
 </tr>
+<tr>
+<td><a href="#ReturnVisitor.visit_While">visit_While</a></td>
+<td>Public method to handle a while loop.</td>
+</tr>
 </table>
 <h3>Static Methods</h3>
 
@@ -1416,6 +1454,32 @@
 bool
 </dd>
 </dl>
+<a NAME="ReturnVisitor.__isFalse" ID="ReturnVisitor.__isFalse"></a>
+<h4>ReturnVisitor.__isFalse</h4>
+<b>__isFalse</b>(<i>node</i>)
+
+<p>
+        Private method to check, if a node value is False.
+</p>
+<dl>
+
+<dt><i>node</i> (ast.AST)</dt>
+<dd>
+reference to the node to check
+</dd>
+</dl>
+<dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating the node contains a False value
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
 <a NAME="ReturnVisitor.__isNone" ID="ReturnVisitor.__isNone"></a>
 <h4>ReturnVisitor.__isNone</h4>
 <b>__isNone</b>(<i>node</i>)
@@ -1436,6 +1500,12 @@
 flag indicating the node contains a None value
 </dd>
 </dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
 <a NAME="ReturnVisitor.__resultExists" ID="ReturnVisitor.__resultExists"></a>
 <h4>ReturnVisitor.__resultExists</h4>
 <b>__resultExists</b>(<i></i>)
@@ -1469,6 +1539,20 @@
 reference to the node to handle
 </dd>
 </dl>
+<a NAME="ReturnVisitor.__visitLoop" ID="ReturnVisitor.__visitLoop"></a>
+<h4>ReturnVisitor.__visitLoop</h4>
+<b>__visitLoop</b>(<i>node</i>)
+
+<p>
+        Private method to handle loop nodes.
+</p>
+<dl>
+
+<dt><i>node</i> (ast.For, ast.AsyncFor or ast.While)</dt>
+<dd>
+reference to the loop node to handle
+</dd>
+</dl>
 <a NAME="ReturnVisitor.__visitWithStack" ID="ReturnVisitor.__visitWithStack"></a>
 <h4>ReturnVisitor.__visitWithStack</h4>
 <b>__visitWithStack</b>(<i>node</i>)
@@ -1557,6 +1641,20 @@
 reference to the node to handle
 </dd>
 </dl>
+<a NAME="ReturnVisitor.visit_AsyncFor" ID="ReturnVisitor.visit_AsyncFor"></a>
+<h4>ReturnVisitor.visit_AsyncFor</h4>
+<b>visit_AsyncFor</b>(<i>node</i>)
+
+<p>
+        Public method to handle an async for loop.
+</p>
+<dl>
+
+<dt><i>node</i> (ast.AsyncFor)</dt>
+<dd>
+reference to the async for node to handle
+</dd>
+</dl>
 <a NAME="ReturnVisitor.visit_AsyncFunctionDef" ID="ReturnVisitor.visit_AsyncFunctionDef"></a>
 <h4>ReturnVisitor.visit_AsyncFunctionDef</h4>
 <b>visit_AsyncFunctionDef</b>(<i>node</i>)
@@ -1571,6 +1669,20 @@
 reference to the node to handle
 </dd>
 </dl>
+<a NAME="ReturnVisitor.visit_For" ID="ReturnVisitor.visit_For"></a>
+<h4>ReturnVisitor.visit_For</h4>
+<b>visit_For</b>(<i>node</i>)
+
+<p>
+        Public method to handle a for loop.
+</p>
+<dl>
+
+<dt><i>node</i> (ast.For)</dt>
+<dd>
+reference to the for node to handle
+</dd>
+</dl>
 <a NAME="ReturnVisitor.visit_FunctionDef" ID="ReturnVisitor.visit_FunctionDef"></a>
 <h4>ReturnVisitor.visit_FunctionDef</h4>
 <b>visit_FunctionDef</b>(<i>node</i>)
@@ -1613,6 +1725,20 @@
 reference to the node to handle
 </dd>
 </dl>
+<a NAME="ReturnVisitor.visit_While" ID="ReturnVisitor.visit_While"></a>
+<h4>ReturnVisitor.visit_While</h4>
+<b>visit_While</b>(<i>node</i>)
+
+<p>
+        Public method to handle a while loop.
+</p>
+<dl>
+
+<dt><i>node</i> (ast.While)</dt>
+<dd>
+reference to the while node to handle
+</dd>
+</dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />

eric ide

mercurial