| 285 | } |
| 286 | |
| 287 | std::string PropTree::FormatString() { |
| 288 | std::stringstream ss; |
| 289 | ss << "\n"; |
| 290 | FormatNode(" ", root_, &ss); |
| 291 | return ss.str(); |
| 292 | } |
| 293 | |
| 294 | void PropTree::FormatNode(const std::string& line_prefix, Node* node, std::stringstream* ss) { |
| 295 | *ss << line_prefix << node->name_; |
no outgoing calls
no test coverage detected