37 bool has_next)
const {
39 if (tree_symbols.empty()) {
42 tree_symbols.push_back(
"");
46 for (
const char* s : tree_symbols)
PrintF(
"%s", s);
48 const char* tree_connector_symbol = has_next ?
"╠" :
"╚";
49 PrintF(
"%s B%d\n", tree_connector_symbol,
index().
id());
52 const char* tree_cont_symbol = has_next ?
"║ " :
" ";
53 tree_symbols.push_back(tree_cont_symbol);
58 child->PrintDominatorTree(tree_symbols, child !=
children.back());
61 tree_symbols.pop_back();