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