--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html Thu Jan 04 17:16:15 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html Thu Jan 04 18:02:25 2024 +0100 @@ -9,14 +9,12 @@ <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe</h1> <h3>Global Attributes</h3> - <table> <tr><td>__version__</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#ASTVisitor">ASTVisitor</a></td> <td>Performs a depth-first walk of the AST.</td> @@ -34,35 +32,34 @@ <td></td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="ASTVisitor" ID="ASTVisitor"></a> <h2>ASTVisitor</h2> - <p> Performs a depth-first walk of the AST. </p> + <h3>Derived from</h3> object <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#ASTVisitor.__init__">ASTVisitor</a></td> <td></td> @@ -80,12 +77,13 @@ <td>Do preorder walk of tree using visitor</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="ASTVisitor.__init__" ID="ASTVisitor.__init__"></a> <h4>ASTVisitor (Constructor)</h4> <b>ASTVisitor</b>(<i></i>) @@ -101,10 +99,10 @@ <a NAME="ASTVisitor.preorder" ID="ASTVisitor.preorder"></a> <h4>ASTVisitor.preorder</h4> <b>preorder</b>(<i>tree, visitor, *args</i>) - <p> Do preorder walk of tree using visitor </p> + <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> @@ -114,19 +112,17 @@ <h3>Derived from</h3> object <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#PathGraph.__init__">PathGraph</a></td> <td></td> @@ -144,12 +140,13 @@ <td></td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="PathGraph.__init__" ID="PathGraph.__init__"></a> <h4>PathGraph (Constructor)</h4> <b>PathGraph</b>(<i>name, entity, lineno, column=0</i>) @@ -157,11 +154,11 @@ <a NAME="PathGraph.complexity" ID="PathGraph.complexity"></a> <h4>PathGraph.complexity</h4> <b>complexity</b>(<i></i>) - <p> Return the McCabe complexity for the graph. V-E+2 </p> + <a NAME="PathGraph.connect" ID="PathGraph.connect"></a> <h4>PathGraph.connect</h4> <b>connect</b>(<i>n1, n2</i>) @@ -175,27 +172,28 @@ <hr /> <a NAME="PathGraphingAstVisitor" ID="PathGraphingAstVisitor"></a> <h2>PathGraphingAstVisitor</h2> - <p> A visitor for a parsed Abstract Syntax Tree which finds executable statements. </p> + <h3>Derived from</h3> ASTVisitor <h3>Class Attributes</h3> +<table> +<tr><td>visitAsyncFor</td></tr> +<tr><td>visitAsyncFunctionDef</td></tr> +<tr><td>visitAsyncWith</td></tr> +<tr><td>visitTry</td></tr> +</table> -<table> -<tr><td>visitAsyncFor</td></tr><tr><td>visitAsyncFunctionDef</td></tr><tr><td>visitAsyncWith</td></tr><tr><td>visitTry</td></tr> -</table> <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#PathGraphingAstVisitor.__init__">PathGraphingAstVisitor</a></td> <td></td> @@ -253,12 +251,13 @@ <td></td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="PathGraphingAstVisitor.__init__" ID="PathGraphingAstVisitor.__init__"></a> <h4>PathGraphingAstVisitor (Constructor)</h4> <b>PathGraphingAstVisitor</b>(<i></i>) @@ -266,17 +265,17 @@ <a NAME="PathGraphingAstVisitor._subgraph" ID="PathGraphingAstVisitor._subgraph"></a> <h4>PathGraphingAstVisitor._subgraph</h4> <b>_subgraph</b>(<i>node, name, extra_blocks=()</i>) - <p> create the subgraphs representing any `if` and `for` statements </p> + <a NAME="PathGraphingAstVisitor._subgraph_parse" ID="PathGraphingAstVisitor._subgraph_parse"></a> <h4>PathGraphingAstVisitor._subgraph_parse</h4> <b>_subgraph_parse</b>(<i>node, pathnode, extra_blocks</i>) - <p> parse the body and any `else` block of `if` and `for` statements </p> + <a NAME="PathGraphingAstVisitor.appendPathNode" ID="PathGraphingAstVisitor.appendPathNode"></a> <h4>PathGraphingAstVisitor.appendPathNode</h4> <b>appendPathNode</b>(<i>name</i>) @@ -330,19 +329,17 @@ <h3>Derived from</h3> object <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#PathNode.__init__">PathNode</a></td> <td></td> @@ -356,12 +353,13 @@ <td></td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="PathNode.__init__" ID="PathNode.__init__"></a> <h4>PathNode (Constructor)</h4> <b>PathNode</b>(<i>name, look="circle"</i>) @@ -376,4 +374,4 @@ <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>