Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb_re2::NumCapturesWalker Class Reference
Inheritance diagram for duckdb_re2::NumCapturesWalker:
Collaboration diagram for duckdb_re2::NumCapturesWalker:

Public Member Functions

int ncapture ()
virtual Ignored PreVisit (Regexp *re, Ignored ignored, bool *stop)
virtual Ignored ShortVisit (Regexp *re, Ignored ignored)
Public Member Functions inherited from duckdb_re2::Regexp::Walker< 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 ()

Private Member Functions

 NumCapturesWalker (const NumCapturesWalker &)=delete
NumCapturesWalker & operator= (const NumCapturesWalker &)=delete

Private Attributes

int ncapture_

Constructor & Destructor Documentation

◆ NumCapturesWalker()

duckdb_re2::NumCapturesWalker::NumCapturesWalker ( )
inline
473490: ncapture_(0) {}

Member Function Documentation

◆ ncapture()

int duckdb_re2::NumCapturesWalker::ncapture ( )
inline
473491{ return ncapture_; }

◆ PreVisit()

virtual Ignored duckdb_re2::NumCapturesWalker::PreVisit ( Regexp * re,
Ignored ignored,
bool * stop )
inlinevirtual

Reimplemented from duckdb_re2::Regexp::Walker< Ignored >.

473493 {
473494 if (re->op() == kRegexpCapture)
473495 ncapture_++;
473496 return ignored;
473497 }

◆ ShortVisit()

virtual Ignored duckdb_re2::NumCapturesWalker::ShortVisit ( Regexp * re,
Ignored ignored )
inlinevirtual

Implements duckdb_re2::Regexp::Walker< Ignored >.

473499 {
473500 // Should never be called: we use Walk(), not WalkExponential().
473501#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
473502 LOG(DFATAL) << "NumCapturesWalker::ShortVisit called";
473503#endif
473504 return ignored;
473505 }

The documentation for this class was generated from the following file: