Lines Matching defs:os_

19   explicit DotPrinterImpl(std::ostream& os) : os_(os) {}
28 std::ostream& os_;
32 os_ << "digraph G {\n graph [label=\"";
36 os_ << "\\\\";
39 os_ << "\"";
42 os_ << label[i];
46 os_ << "\"];\n";
48 os_ << "}" << std::endl;
58 os_ << " n" << from << " -> n" << on_failure << " [style=dotted];\n";
64 explicit AttributePrinter(std::ostream& os) : os_(os), first_(true) {}
69 os_ << "|";
75 os_ << "{" << name << "}";
80 os_ << "{" << name << "|" << value << "}";
84 std::ostream& os_;
89 os_ << " a" << that << " [shape=Mrecord, color=grey, fontcolor=grey, "
91 AttributePrinter printer(os_);
98 os_ << "}\"];\n"
104 os_ << " n" << that << " [shape=Mrecord, label=\"?\"];\n";
107 os_ << " n" << that << " -> n" << alt.node();
126 os_ << " n" << that << " [label=\"";
128 if (i > 0) os_ << " ";
134 os_ << static_cast<char>(data[j]);
140 os_ << "[";
141 if (node->is_negated()) os_ << "^";
144 os_ << AsUC32(range.from()) << "-" << AsUC32(range.to());
146 os_ << "]";
153 os_ << "\", shape=box, peripheries=2];\n";
155 os_ << " n" << that << " -> n" << that->on_success() << ";\n";
160 os_ << " n" << that << " [label=\"$" << that->start_register() << "..$"
163 os_ << " n" << that << " -> n" << that->on_success() << ";\n";
168 os_ << " n" << that << " [style=bold, shape=point];\n";
173 os_ << " n" << that << " [";
176 os_ << "label=\"$\", shape=septagon";
179 os_ << "label=\"^\", shape=septagon";
182 os_ << "label=\"\\b\", shape=septagon";
185 os_ << "label=\"\\B\", shape=septagon";
188 os_ << "label=\"(?<=\\n)\", shape=septagon";
191 os_ << "];\n";
194 os_ << " n" << that << " -> n" << successor << ";\n";
199 os_ << " n" << that << " [";
202 os_ << "label=\"$" << that->data_.u_store_register.reg
206 os_ << "label=\"$" << that->data_.u_increment_register.reg
210 os_ << "label=\"$" << that->data_.u_position_register.reg
214 os_ << "label=\"$" << that->data_.u_submatch.current_position_register
218 os_ << "label=\"$" << that->data_.u_submatch.current_position_register
222 os_ << "label=\"escape\", shape=septagon";
225 os_ << "label=\"$" << that->data_.u_empty_match_check.start_register
231 os_ << "label=\"clear $" << that->data_.u_clear_captures.range_from
237 os_ << "];\n";
240 os_ << " n" << that << " -> n" << successor << ";\n";