Lines Matching refs:Regexp
31 class ToStringWalker : public Regexp::Walker<int> {
35 virtual int PreVisit(Regexp* re, int parent_arg, bool* stop);
36 virtual int PostVisit(Regexp* re, int parent_arg, int pre_arg,
38 virtual int ShortVisit(Regexp* re, int parent_arg) { in ShortVisit()
48 string Regexp::ToString() { in ToString()
61 int ToStringWalker::PreVisit(Regexp* re, int parent_arg, bool* stop) { in PreVisit()
139 int ToStringWalker::PostVisit(Regexp* re, int parent_arg, int pre_arg, in PostVisit()
157 AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase); in PostVisit()
162 AppendLiteral(t_, re->runes()[i], re->parse_flags() & Regexp::FoldCase); in PostVisit()
185 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit()
193 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit()
201 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit()
214 if (re->parse_flags() & Regexp::NonGreedy) in PostVisit()
241 if (re->parse_flags() & Regexp::WasDollar) in PostVisit()