| 305 | } |
| 306 | |
| 307 | string ScalarExpr::DebugString() const { |
| 308 | // TODO: implement partial debug string for member vars |
| 309 | stringstream out; |
| 310 | out << " type=" << type_.DebugString(); |
| 311 | if (!children_.empty()) { |
| 312 | out << " children=" << DebugString(children_); |
| 313 | } |
| 314 | return out.str(); |
| 315 | } |
| 316 | |
| 317 | string ScalarExpr::DebugString(const vector<ScalarExpr*>& exprs) { |
| 318 | stringstream out; |
nothing calls this directly
no test coverage detected