src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html

branch
eric7
changeset 9596
397f385b95d8
parent 9327
2b768afcaee1
child 10048
df836ff707fd
equal deleted inserted replaced
9595:2bd590c40309 9596:397f385b95d8
141 <tr> 141 <tr>
142 <td><a href="#BugBearVisitor.__checkForM523">__checkForM523</a></td> 142 <td><a href="#BugBearVisitor.__checkForM523">__checkForM523</a></td>
143 <td>Private method to check that functions (including lambdas) do not use loop variables.</td> 143 <td>Private method to check that functions (including lambdas) do not use loop variables.</td>
144 </tr> 144 </tr>
145 <tr> 145 <tr>
146 <td><a href="#BugBearVisitor.__checkForM524">__checkForM524</a></td> 146 <td><a href="#BugBearVisitor.__checkForM524AndM527">__checkForM524AndM527</a></td>
147 <td>Private method to check for inheritance from abstract classes in abc and lack of any methods decorated with abstract*.</td> 147 <td>Private method to check for inheritance from abstract classes in abc and lack of any methods decorated with abstract*.</td>
148 </tr> 148 </tr>
149 <tr> 149 <tr>
150 <td><a href="#BugBearVisitor.__checkForM525">__checkForM525</a></td> 150 <td><a href="#BugBearVisitor.__checkForM525">__checkForM525</a></td>
151 <td>Private method to check for exceptions being handled multiple times.</td> 151 <td>Private method to check for exceptions being handled multiple times.</td>
152 </tr> 152 </tr>
153 <tr> 153 <tr>
154 <td><a href="#BugBearVisitor.__checkForM526">__checkForM526</a></td>
155 <td>Private method to check for Star-arg unpacking after keyword argument.</td>
156 </tr>
157 <tr>
154 <td><a href="#BugBearVisitor.__childrenInScope">__childrenInScope</a></td> 158 <td><a href="#BugBearVisitor.__childrenInScope">__childrenInScope</a></td>
155 <td>Private method to get all child nodes in the given scope.</td> 159 <td>Private method to get all child nodes in the given scope.</td>
156 </tr> 160 </tr>
157 <tr> 161 <tr>
158 <td><a href="#BugBearVisitor.__composeCallPath">__composeCallPath</a></td> 162 <td><a href="#BugBearVisitor.__composeCallPath">__composeCallPath</a></td>
181 <tr> 185 <tr>
182 <td><a href="#BugBearVisitor._loop">_loop</a></td> 186 <td><a href="#BugBearVisitor._loop">_loop</a></td>
183 <td></td> 187 <td></td>
184 </tr> 188 </tr>
185 <tr> 189 <tr>
190 <td><a href="#BugBearVisitor.emptyBody">emptyBody</a></td>
191 <td></td>
192 </tr>
193 <tr>
186 <td><a href="#BugBearVisitor.isAbcClass">isAbcClass</a></td> 194 <td><a href="#BugBearVisitor.isAbcClass">isAbcClass</a></td>
187 <td></td> 195 <td></td>
188 </tr> 196 </tr>
189 <tr> 197 <tr>
190 <td><a href="#BugBearVisitor.isAbstractDecorator">isAbstractDecorator</a></td> 198 <td><a href="#BugBearVisitor.isAbstractDecorator">isAbstractDecorator</a></td>
199 <td></td>
200 </tr>
201 <tr>
202 <td><a href="#BugBearVisitor.isOverload">isOverload</a></td>
203 <td></td>
204 </tr>
205 <tr>
206 <td><a href="#BugBearVisitor.isStrOrEllipsis">isStrOrEllipsis</a></td>
191 <td></td> 207 <td></td>
192 </tr> 208 </tr>
193 <tr> 209 <tr>
194 <td><a href="#BugBearVisitor.nodeStack">nodeStack</a></td> 210 <td><a href="#BugBearVisitor.nodeStack">nodeStack</a></td>
195 <td>Public method to get a reference to the most recent node stack.</td> 211 <td>Public method to get a reference to the most recent node stack.</td>
457 <dd> 473 <dd>
458 reference to the node to be processed 474 reference to the node to be processed
459 or ast.GeneratorExp 475 or ast.GeneratorExp
460 </dd> 476 </dd>
461 </dl> 477 </dl>
462 <a NAME="BugBearVisitor.__checkForM524" ID="BugBearVisitor.__checkForM524"></a> 478 <a NAME="BugBearVisitor.__checkForM524AndM527" ID="BugBearVisitor.__checkForM524AndM527"></a>
463 <h4>BugBearVisitor.__checkForM524</h4> 479 <h4>BugBearVisitor.__checkForM524AndM527</h4>
464 <b>__checkForM524</b>(<i>node</i>) 480 <b>__checkForM524AndM527</b>(<i>node</i>)
465 481
466 <p> 482 <p>
467 Private method to check for inheritance from abstract classes in abc and lack of 483 Private method to check for inheritance from abstract classes in abc and lack of
468 any methods decorated with abstract*. 484 any methods decorated with abstract*.
469 </p> 485 </p>
486 <dt><i>node</i> (ast.Try)</dt> 502 <dt><i>node</i> (ast.Try)</dt>
487 <dd> 503 <dd>
488 reference to the node to be processed 504 reference to the node to be processed
489 </dd> 505 </dd>
490 </dl> 506 </dl>
507 <a NAME="BugBearVisitor.__checkForM526" ID="BugBearVisitor.__checkForM526"></a>
508 <h4>BugBearVisitor.__checkForM526</h4>
509 <b>__checkForM526</b>(<i>node</i>)
510
511 <p>
512 Private method to check for Star-arg unpacking after keyword argument.
513 </p>
514 <dl>
515
516 <dt><i>node</i> (ast.Call)</dt>
517 <dd>
518 reference to the node to be processed
519 </dd>
520 </dl>
491 <a NAME="BugBearVisitor.__childrenInScope" ID="BugBearVisitor.__childrenInScope"></a> 521 <a NAME="BugBearVisitor.__childrenInScope" ID="BugBearVisitor.__childrenInScope"></a>
492 <h4>BugBearVisitor.__childrenInScope</h4> 522 <h4>BugBearVisitor.__childrenInScope</h4>
493 <b>__childrenInScope</b>(<i>node</i>) 523 <b>__childrenInScope</b>(<i>node</i>)
494 524
495 <p> 525 <p>
683 </dl> 713 </dl>
684 <a NAME="BugBearVisitor._loop" ID="BugBearVisitor._loop"></a> 714 <a NAME="BugBearVisitor._loop" ID="BugBearVisitor._loop"></a>
685 <h4>BugBearVisitor._loop</h4> 715 <h4>BugBearVisitor._loop</h4>
686 <b>_loop</b>(<i>badNodeTypes</i>) 716 <b>_loop</b>(<i>badNodeTypes</i>)
687 717
718 <a NAME="BugBearVisitor.emptyBody" ID="BugBearVisitor.emptyBody"></a>
719 <h4>BugBearVisitor.emptyBody</h4>
720 <b>emptyBody</b>(<i></i>)
721
688 <a NAME="BugBearVisitor.isAbcClass" ID="BugBearVisitor.isAbcClass"></a> 722 <a NAME="BugBearVisitor.isAbcClass" ID="BugBearVisitor.isAbcClass"></a>
689 <h4>BugBearVisitor.isAbcClass</h4> 723 <h4>BugBearVisitor.isAbcClass</h4>
690 <b>isAbcClass</b>(<i></i>) 724 <b>isAbcClass</b>(<i>name="ABC"</i>)
691 725
692 <a NAME="BugBearVisitor.isAbstractDecorator" ID="BugBearVisitor.isAbstractDecorator"></a> 726 <a NAME="BugBearVisitor.isAbstractDecorator" ID="BugBearVisitor.isAbstractDecorator"></a>
693 <h4>BugBearVisitor.isAbstractDecorator</h4> 727 <h4>BugBearVisitor.isAbstractDecorator</h4>
694 <b>isAbstractDecorator</b>(<i></i>) 728 <b>isAbstractDecorator</b>(<i></i>)
729
730 <a NAME="BugBearVisitor.isOverload" ID="BugBearVisitor.isOverload"></a>
731 <h4>BugBearVisitor.isOverload</h4>
732 <b>isOverload</b>(<i></i>)
733
734 <a NAME="BugBearVisitor.isStrOrEllipsis" ID="BugBearVisitor.isStrOrEllipsis"></a>
735 <h4>BugBearVisitor.isStrOrEllipsis</h4>
736 <b>isStrOrEllipsis</b>(<i></i>)
695 737
696 <a NAME="BugBearVisitor.nodeStack" ID="BugBearVisitor.nodeStack"></a> 738 <a NAME="BugBearVisitor.nodeStack" ID="BugBearVisitor.nodeStack"></a>
697 <h4>BugBearVisitor.nodeStack</h4> 739 <h4>BugBearVisitor.nodeStack</h4>
698 <b>nodeStack</b>(<i></i>) 740 <b>nodeStack</b>(<i></i>)
699 741

eric ide

mercurial