148 <tr> |
148 <tr> |
149 <td><a href="#SimplifyNodeVisitor.__check120">__check120</a></td> |
149 <td><a href="#SimplifyNodeVisitor.__check120">__check120</a></td> |
150 <td>Private method to check for classes that inherit from object.</td> |
150 <td>Private method to check for classes that inherit from object.</td> |
151 </tr> |
151 </tr> |
152 <tr> |
152 <tr> |
|
153 <td><a href="#SimplifyNodeVisitor.__check121">__check121</a></td> |
|
154 <td>Private method to check for assignments that could be converted into an augmented assignment</td> |
|
155 </tr> |
|
156 <tr> |
153 <td><a href="#SimplifyNodeVisitor.__check201">__check201</a></td> |
157 <td><a href="#SimplifyNodeVisitor.__check201">__check201</a></td> |
154 <td>Private method to check for calls where an unary 'not' is used for an unequality.</td> |
158 <td>Private method to check for calls where an unary 'not' is used for an unequality.</td> |
155 </tr> |
159 </tr> |
156 <tr> |
160 <tr> |
157 <td><a href="#SimplifyNodeVisitor.__check202">__check202</a></td> |
161 <td><a href="#SimplifyNodeVisitor.__check202">__check202</a></td> |
242 <td>Private method to check, if two statements are equal.</td> |
246 <td>Private method to check, if two statements are equal.</td> |
243 </tr> |
247 </tr> |
244 <tr> |
248 <tr> |
245 <td><a href="#SimplifyNodeVisitor.__negateTest">__negateTest</a></td> |
249 <td><a href="#SimplifyNodeVisitor.__negateTest">__negateTest</a></td> |
246 <td>Private method negate the given Compare node.</td> |
250 <td>Private method negate the given Compare node.</td> |
|
251 </tr> |
|
252 <tr> |
|
253 <td><a href="#SimplifyNodeVisitor.visit_Assign">visit_Assign</a></td> |
|
254 <td>Public method to process an Assign node.</td> |
247 </tr> |
255 </tr> |
248 <tr> |
256 <tr> |
249 <td><a href="#SimplifyNodeVisitor.visit_BoolOp">visit_BoolOp</a></td> |
257 <td><a href="#SimplifyNodeVisitor.visit_BoolOp">visit_BoolOp</a></td> |
250 <td>Public method to process a BoolOp node.</td> |
258 <td>Public method to process a BoolOp node.</td> |
251 </tr> |
259 </tr> |
589 <dt><i>node</i> (ast.ClassDef)</dt> |
597 <dt><i>node</i> (ast.ClassDef)</dt> |
590 <dd> |
598 <dd> |
591 reference to the AST node to be checked |
599 reference to the AST node to be checked |
592 </dd> |
600 </dd> |
593 </dl> |
601 </dl> |
|
602 <a NAME="SimplifyNodeVisitor.__check121" ID="SimplifyNodeVisitor.__check121"></a> |
|
603 <h4>SimplifyNodeVisitor.__check121</h4> |
|
604 <b>__check121</b>(<i>node</i>) |
|
605 |
|
606 <p> |
|
607 Private method to check for assignments that could be converted into |
|
608 an augmented assignment |
|
609 </p> |
|
610 <dl> |
|
611 |
|
612 <dt><i>node</i> (ast.Assign)</dt> |
|
613 <dd> |
|
614 reference to the AST node to be checked |
|
615 </dd> |
|
616 </dl> |
594 <a NAME="SimplifyNodeVisitor.__check201" ID="SimplifyNodeVisitor.__check201"></a> |
617 <a NAME="SimplifyNodeVisitor.__check201" ID="SimplifyNodeVisitor.__check201"></a> |
595 <h4>SimplifyNodeVisitor.__check201</h4> |
618 <h4>SimplifyNodeVisitor.__check201</h4> |
596 <b>__check201</b>(<i>node</i>) |
619 <b>__check201</b>(<i>node</i>) |
597 |
620 |
598 <p> |
621 <p> |
1039 <dt>Return Type:</dt> |
1062 <dt>Return Type:</dt> |
1040 <dd> |
1063 <dd> |
1041 ast.Compare |
1064 ast.Compare |
1042 </dd> |
1065 </dd> |
1043 </dl> |
1066 </dl> |
|
1067 <a NAME="SimplifyNodeVisitor.visit_Assign" ID="SimplifyNodeVisitor.visit_Assign"></a> |
|
1068 <h4>SimplifyNodeVisitor.visit_Assign</h4> |
|
1069 <b>visit_Assign</b>(<i>node</i>) |
|
1070 |
|
1071 <p> |
|
1072 Public method to process an Assign node. |
|
1073 </p> |
|
1074 <dl> |
|
1075 |
|
1076 <dt><i>node</i> (ast.Assign)</dt> |
|
1077 <dd> |
|
1078 reference to the Assign node |
|
1079 </dd> |
|
1080 </dl> |
1044 <a NAME="SimplifyNodeVisitor.visit_BoolOp" ID="SimplifyNodeVisitor.visit_BoolOp"></a> |
1081 <a NAME="SimplifyNodeVisitor.visit_BoolOp" ID="SimplifyNodeVisitor.visit_BoolOp"></a> |
1045 <h4>SimplifyNodeVisitor.visit_BoolOp</h4> |
1082 <h4>SimplifyNodeVisitor.visit_BoolOp</h4> |
1046 <b>visit_BoolOp</b>(<i>node</i>) |
1083 <b>visit_BoolOp</b>(<i>node</i>) |
1047 |
1084 |
1048 <p> |
1085 <p> |