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

Method TakeMap

extern/re2/re2/regexp.cc:621–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619 ~CaptureNamesWalker() { delete map_; }
620
621 std::map<int, std::string>* TakeMap() {
622 std::map<int, std::string>* m = map_;
623 map_ = NULL;
624 return m;
625 }
626
627 virtual Ignored PreVisit(Regexp* re, Ignored ignored, bool* stop) {
628 if (re->op() == kRegexpCapture && re->name() != NULL) {

Callers 2

NamedCapturesMethod · 0.45
CaptureNamesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected