Resets the internal analysis state of this expr tree. Removes implicit casts.
()
| 1251 | * Resets the internal analysis state of this expr tree. Removes implicit casts. |
| 1252 | */ |
| 1253 | public Expr reset() { |
| 1254 | if (isImplicitCast()) return getChild(0).reset(); |
| 1255 | for (int i = 0; i < children_.size(); ++i) { |
| 1256 | children_.set(i, children_.get(i).reset()); |
| 1257 | } |
| 1258 | resetAnalysisState(); |
| 1259 | return this; |
| 1260 | } |
| 1261 | |
| 1262 | public static List<Expr> resetList(List<Expr> l) { |
| 1263 | for (int i = 0; i < l.size(); ++i) { |
no test coverage detected