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

changeset 5623
f4d7cfdadc3f
parent 4468
49d15dc1254d
equal deleted inserted replaced
5622:c4806baecec6 5623:f4d7cfdadc3f
131 <table> 131 <table>
132 <tr><td>None</td></tr> 132 <tr><td>None</td></tr>
133 </table> 133 </table>
134 <a NAME="PathGraph.__init__" ID="PathGraph.__init__"></a> 134 <a NAME="PathGraph.__init__" ID="PathGraph.__init__"></a>
135 <h4>PathGraph (Constructor)</h4> 135 <h4>PathGraph (Constructor)</h4>
136 <b>PathGraph</b>(<i>name, entity, lineno</i>) 136 <b>PathGraph</b>(<i>name, entity, lineno, column=0</i>)
137 <a NAME="PathGraph.complexity" ID="PathGraph.complexity"></a> 137 <a NAME="PathGraph.complexity" ID="PathGraph.complexity"></a>
138 <h4>PathGraph.complexity</h4> 138 <h4>PathGraph.complexity</h4>
139 <b>complexity</b>(<i></i>) 139 <b>complexity</b>(<i></i>)
140 <p> 140 <p>
141 Return the McCabe complexity for the graph. 141 Return the McCabe complexity for the graph.
157 </p> 157 </p>
158 <h3>Derived from</h3> 158 <h3>Derived from</h3>
159 ASTVisitor 159 ASTVisitor
160 <h3>Class Attributes</h3> 160 <h3>Class Attributes</h3>
161 <table> 161 <table>
162 <tr><td>visitAssert</td></tr><tr><td>visitAsyncFunctionDef</td></tr><tr><td>visitAsyncWith</td></tr><tr><td>visitFor</td></tr><tr><td>visitTry</td></tr> 162 <tr><td>visitAsyncFor</td></tr><tr><td>visitAsyncFunctionDef</td></tr><tr><td>visitAsyncWith</td></tr><tr><td>visitTry</td></tr>
163 </table> 163 </table>
164 <h3>Class Methods</h3> 164 <h3>Class Methods</h3>
165 <table> 165 <table>
166 <tr><td>None</td></tr> 166 <tr><td>None</td></tr>
167 </table> 167 </table>
176 </tr><tr> 176 </tr><tr>
177 <td><a href="#PathGraphingAstVisitor._subgraph_parse">_subgraph_parse</a></td> 177 <td><a href="#PathGraphingAstVisitor._subgraph_parse">_subgraph_parse</a></td>
178 <td>parse the body and any `else` block of `if` and `for` statements</td> 178 <td>parse the body and any `else` block of `if` and `for` statements</td>
179 </tr><tr> 179 </tr><tr>
180 <td><a href="#PathGraphingAstVisitor.appendPathNode">appendPathNode</a></td> 180 <td><a href="#PathGraphingAstVisitor.appendPathNode">appendPathNode</a></td>
181 <td></td>
182 </tr><tr>
183 <td><a href="#PathGraphingAstVisitor.default">default</a></td>
181 <td></td> 184 <td></td>
182 </tr><tr> 185 </tr><tr>
183 <td><a href="#PathGraphingAstVisitor.dispatch_list">dispatch_list</a></td> 186 <td><a href="#PathGraphingAstVisitor.dispatch_list">dispatch_list</a></td>
184 <td></td> 187 <td></td>
185 </tr><tr> 188 </tr><tr>
226 <p> 229 <p>
227 parse the body and any `else` block of `if` and `for` statements 230 parse the body and any `else` block of `if` and `for` statements
228 </p><a NAME="PathGraphingAstVisitor.appendPathNode" ID="PathGraphingAstVisitor.appendPathNode"></a> 231 </p><a NAME="PathGraphingAstVisitor.appendPathNode" ID="PathGraphingAstVisitor.appendPathNode"></a>
229 <h4>PathGraphingAstVisitor.appendPathNode</h4> 232 <h4>PathGraphingAstVisitor.appendPathNode</h4>
230 <b>appendPathNode</b>(<i>name</i>) 233 <b>appendPathNode</b>(<i>name</i>)
234 <a NAME="PathGraphingAstVisitor.default" ID="PathGraphingAstVisitor.default"></a>
235 <h4>PathGraphingAstVisitor.default</h4>
236 <b>default</b>(<i>node, *args</i>)
231 <a NAME="PathGraphingAstVisitor.dispatch_list" ID="PathGraphingAstVisitor.dispatch_list"></a> 237 <a NAME="PathGraphingAstVisitor.dispatch_list" ID="PathGraphingAstVisitor.dispatch_list"></a>
232 <h4>PathGraphingAstVisitor.dispatch_list</h4> 238 <h4>PathGraphingAstVisitor.dispatch_list</h4>
233 <b>dispatch_list</b>(<i>node_list</i>) 239 <b>dispatch_list</b>(<i>node_list</i>)
234 <a NAME="PathGraphingAstVisitor.reset" ID="PathGraphingAstVisitor.reset"></a> 240 <a NAME="PathGraphingAstVisitor.reset" ID="PathGraphingAstVisitor.reset"></a>
235 <h4>PathGraphingAstVisitor.reset</h4> 241 <h4>PathGraphingAstVisitor.reset</h4>

eric ide

mercurial