Home | History | Annotate | Download | only in re2

Lines Matching refs:PreVisit

7 // the PreVisit and PostVisit methods, which are called before
28 // PreVisit passes ownership of its return value to its caller.
29 // The Arg* that PreVisit returns will be passed to PostVisit as pre_arg
32 // If PreVisit sets *stop to true, the walk does not recurse
34 // value from PreVisit is the return value from PostVisit.
35 // The default PreVisit returns parent_arg.
36 virtual T PreVisit(Regexp* re, T parent_arg, bool* stop);
39 // The pre_arg is the T that PreVisit returned.
65 // Top_arg is passed as parent_arg to PreVisit and PostVisit of re.
76 // visited rather than calling PreVisit/PostVisit.
98 template<typename T> T Regexp::Walker<T>::PreVisit(Regexp* re,
125 int n; // The index of the next child to process; -1 means need to PreVisit
179 s->pre_arg = PreVisit(re, s->parent_arg, &stop);