|
| std::map< int, std::string > * | TakeMap () |
| virtual Ignored | PreVisit (Regexp *re, Ignored ignored, bool *stop) |
| virtual Ignored | ShortVisit (Regexp *re, Ignored ignored) |
| virtual Ignored | PostVisit (Regexp *re, Ignored parent_arg, Ignored pre_arg, Ignored *child_args, int nchild_args) |
| virtual Ignored | Copy (Ignored arg) |
| Ignored | Walk (Regexp *re, Ignored top_arg) |
| Ignored | WalkExponential (Regexp *re, Ignored top_arg, int max_visits) |
| void | Reset () |
| bool | stopped_early () |
|
|
| CaptureNamesWalker (const CaptureNamesWalker &)=delete |
|
CaptureNamesWalker & | operator= (const CaptureNamesWalker &)=delete |
|
|
std::map< int, std::string > * | map_ |
◆ CaptureNamesWalker()
| duckdb_re2::CaptureNamesWalker::CaptureNamesWalker |
( |
| ) |
|
|
inline |
◆ ~CaptureNamesWalker()
| duckdb_re2::CaptureNamesWalker::~CaptureNamesWalker |
( |
| ) |
|
|
inline |
◆ TakeMap()
| std::map< int, std::string > * duckdb_re2::CaptureNamesWalker::TakeMap |
( |
| ) |
|
|
inline |
473573 {
473574 std::map<int, std::string>* m = map_;
473575 map_ = NULL;
473576 return m;
473577 }
◆ PreVisit()
| virtual Ignored duckdb_re2::CaptureNamesWalker::PreVisit |
( |
Regexp * | re, |
|
|
Ignored | ignored, |
|
|
bool * | stop ) |
|
inlinevirtual |
Reimplemented from duckdb_re2::Regexp::Walker< Ignored >.
473579 {
473580 if (re->op() == kRegexpCapture && re->name() != NULL) {
473581
473582 if (map_ == NULL)
473583 map_ = new std::map<int, std::string>;
473584
473585 (*map_)[re->cap()] = *re->name();
473586 }
473587 return ignored;
473588 }
◆ ShortVisit()
| virtual Ignored duckdb_re2::CaptureNamesWalker::ShortVisit |
( |
Regexp * | re, |
|
|
Ignored | ignored ) |
|
inlinevirtual |
Implements duckdb_re2::Regexp::Walker< Ignored >.
473590 {
473591
473592#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
473593 LOG(DFATAL) << "CaptureNamesWalker::ShortVisit called";
473594#endif
473595 return ignored;
473596 }
The documentation for this class was generated from the following file: