112056 {
112057 auto node_p = node.GetNode(x, y);
112058 D_ASSERT(node_p);
112059 auto ¤t_node = *node_p;
112060
112061 ss << string(indent, ' ') << "- name: " << EscapedString(current_node.name) << '\n';
112062
112063 indent += 2;
112064
112065 if (!current_node.extra_text.empty()) {
112066 for (const auto &info : current_node.extra_text) {
112067 auto &key = info.first;
112068 auto &value = info.second;
112070 ss << string(indent, ' ') << EscapedString(key) << ":";
112071 if (splits.size() > 1) {
112072 ss << '\n';
112073 for (const auto &split : splits) {
112074 ss << string(indent + 2, ' ') << "- " << EscapedString(split) << '\n';
112075 }
112076 } else {
112077 ss << ' ' << EscapedString(value) << '\n';
112078 }
112079 }
112080 }
112081
112082
112083 if (!current_node.child_positions.empty()) {
112084 ss << string(indent, ' ') << "children: \n";
112085 for (const auto &child_pos : current_node.child_positions) {
112086 RenderRecursive(node, ss, indent + 2, child_pos.x, child_pos.y);
112087 }
112088 }
112089}
static DUCKDB_API vector< string > Split(const string &str, char delimiter)
Split the input string based on newline char.
Definition duckdb.cpp:109734