MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / PreVisit

Method PreVisit

extern/re2/re2/simplify.cc:456–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456Regexp* SimplifyWalker::PreVisit(Regexp* re, Regexp* parent_arg, bool* stop) {
457 if (re->simple()) {
458 *stop = true;
459 return re->Incref();
460 }
461 return NULL;
462}
463
464Regexp* SimplifyWalker::PostVisit(Regexp* re,
465 Regexp* parent_arg,

Callers

nothing calls this directly

Calls 2

simpleMethod · 0.80
IncrefMethod · 0.45

Tested by

no test coverage detected