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

Method GetCharClass

extern/re2/re2/regexp.cc:975–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973}
974
975CharClass* CharClassBuilder::GetCharClass() {
976 CharClass* cc = CharClass::New(ranges_.size());
977 int n = 0;
978 for (iterator it = begin(); it != end(); ++it)
979 cc->ranges_[n++] = *it;
980 cc->nranges_ = n;
981 DCHECK_LE(n, static_cast<int>(ranges_.size()));
982 cc->nrunes_ = nrunes_;
983 cc->folds_ascii_ = FoldsASCII();
984 return cc;
985}
986
987} // namespace re2

Callers 3

FinishRegexpMethod · 0.80
Round3Method · 0.80
TESTFunction · 0.80

Calls 3

beginFunction · 0.50
endFunction · 0.50
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64