Lines Matching refs:os_
141 RegExpUnparser(std::ostream& os, Zone* zone) : os_(os), zone_(zone) {} in RegExpUnparser()
147 std::ostream& os_; member in v8::internal::RegExpUnparser
153 os_ << "(|"; in VisitDisjunction()
155 os_ << " "; in VisitDisjunction()
158 os_ << ")"; in VisitDisjunction()
164 os_ << "(:"; in VisitAlternative()
166 os_ << " "; in VisitAlternative()
169 os_ << ")"; in VisitAlternative()
175 os_ << AsUC32(that.from()); in VisitCharacterRange()
177 os_ << "-" << AsUC32(that.to()); in VisitCharacterRange()
184 if (that->is_negated()) os_ << "^"; in VisitCharacterClass()
185 os_ << "["; in VisitCharacterClass()
187 if (i > 0) os_ << " "; in VisitCharacterClass()
190 os_ << "]"; in VisitCharacterClass()
198 os_ << "@^i"; in VisitAssertion()
201 os_ << "@$i"; in VisitAssertion()
204 os_ << "@^l"; in VisitAssertion()
207 os_ << "@$l"; in VisitAssertion()
210 os_ << "@b"; in VisitAssertion()
213 os_ << "@B"; in VisitAssertion()
221 os_ << "'"; in VisitAtom()
224 os_ << AsUC16(chardata[i]); in VisitAtom()
226 os_ << "'"; in VisitAtom()
235 os_ << "(!"; in VisitText()
237 os_ << " "; in VisitText()
240 os_ << ")"; in VisitText()
247 os_ << "(# " << that->min() << " "; in VisitQuantifier()
249 os_ << "- "; in VisitQuantifier()
251 os_ << that->max() << " "; in VisitQuantifier()
253 os_ << (that->is_greedy() ? "g " : that->is_possessive() ? "p " : "n "); in VisitQuantifier()
255 os_ << ")"; in VisitQuantifier()
261 os_ << "(^ "; in VisitCapture()
263 os_ << ")"; in VisitCapture()
268 os_ << "(?: "; in VisitGroup()
270 os_ << ")"; in VisitGroup()
275 os_ << "("; in VisitLookaround()
276 os_ << (that->type() == RegExpLookaround::LOOKAHEAD ? "->" : "<-"); in VisitLookaround()
277 os_ << (that->is_positive() ? " + " : " - "); in VisitLookaround()
279 os_ << ")"; in VisitLookaround()
286 os_ << "(<- " << that->index() << ")"; in VisitBackReference()
292 os_ << '%'; in VisitEmpty()