Implements isConstant() - computes the value without using 'isConstant_'.
()
| 1553 | * Implements isConstant() - computes the value without using 'isConstant_'. |
| 1554 | */ |
| 1555 | protected boolean isConstantImpl() { |
| 1556 | for (Expr expr : children_) { |
| 1557 | if (!expr.isConstant()) return false; |
| 1558 | } |
| 1559 | return true; |
| 1560 | } |
| 1561 | |
| 1562 | /** |
| 1563 | * Return true if and only if all exprs in 'exprs' are constant. |
no test coverage detected