10 void get_dump_from_node(std::ostringstream* oss,
13 (*oss) << std::string(indent,
' ') << node->GetDump() <<
"\n";
16 get_dump_from_node(oss, child, indent + 2);
25 DMLC_REGISTRY_FILE_TAG(dump);
27 std::string ASTBuilder::GetDump()
const {
28 std::ostringstream oss;
29 get_dump_from_node(&oss, this->main_node, 0);