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

Method NamedCaptures

extern/re2/re2/regexp.cc:609–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607};
608
609std::map<std::string, int>* Regexp::NamedCaptures() {
610 NamedCapturesWalker w;
611 w.Walk(this, 0);
612 return w.TakeMap();
613}
614
615// Walker class to build map from capture group indices to their names.
616class CaptureNamesWalker : public Regexp::Walker<Ignored> {

Callers 2

re2.ccFile · 0.80
TESTFunction · 0.80

Calls 2

WalkMethod · 0.80
TakeMapMethod · 0.45

Tested by 1

TESTFunction · 0.64