clipp::detail::scoped_dfs_traverser Class Reference

DFS traverser that keeps track of 'scopes' scope = all parameters that are either bounded by two blocking parameters on the same depth level or the beginning/end of the outermost group. More...

#include <clipp.h>

Public Types

using dfs_traverser = group::depth_first_traverser
 

Public Member Functions

 scoped_dfs_traverser ()=default
 
 scoped_dfs_traverser (const group &g)
 
const dfs_traverserbase () const noexcept
 
const dfs_traverserlast_match () const noexcept
 
const groupparent () const noexcept
 
const grouprepeat_group () const noexcept
 
const groupjoin_group () const noexcept
 
const patternoperator-> () const noexcept
 
const patternoperator* () const noexcept
 
const patternptr () const noexcept
 
 operator bool () const noexcept
 
bool joinable () const noexcept
 
arg_string common_flag_prefix () const
 
void ignore_blocking (bool yes)
 
void invalidate ()
 
bool matched () const noexcept
 
bool start_of_repeat_group () const noexcept
 
scoped_dfs_traversernext_sibling ()
 
scoped_dfs_traversernext_alternative ()
 
scoped_dfs_traversernext_after_siblings ()
 
scoped_dfs_traverseroperator++ ()
 
void next_after_match (scoped_dfs_traverser match)
 

Detailed Description

DFS traverser that keeps track of 'scopes' scope = all parameters that are either bounded by two blocking parameters on the same depth level or the beginning/end of the outermost group.

Definition at line 3755 of file clipp.h.

Member Typedef Documentation

◆ dfs_traverser

Constructor & Destructor Documentation

◆ scoped_dfs_traverser() [1/2]

clipp::detail::scoped_dfs_traverser::scoped_dfs_traverser ( )
default

◆ scoped_dfs_traverser() [2/2]

clipp::detail::scoped_dfs_traverser::scoped_dfs_traverser ( const group g)
inlineexplicit

Definition at line 3763 of file clipp.h.

Member Function Documentation

◆ base()

const dfs_traverser& clipp::detail::scoped_dfs_traverser::base ( ) const
inlinenoexcept

Definition at line 3769 of file clipp.h.

◆ common_flag_prefix()

arg_string clipp::detail::scoped_dfs_traverser::common_flag_prefix ( ) const
inline

Definition at line 3784 of file clipp.h.

◆ ignore_blocking()

void clipp::detail::scoped_dfs_traverser::ignore_blocking ( bool  yes)
inline

Definition at line 3786 of file clipp.h.

◆ invalidate()

void clipp::detail::scoped_dfs_traverser::invalidate ( )
inline

Definition at line 3788 of file clipp.h.

◆ join_group()

const group* clipp::detail::scoped_dfs_traverser::join_group ( ) const
inlinenoexcept

Definition at line 3774 of file clipp.h.

◆ joinable()

bool clipp::detail::scoped_dfs_traverser::joinable ( ) const
inlinenoexcept

Definition at line 3783 of file clipp.h.

◆ last_match()

const dfs_traverser& clipp::detail::scoped_dfs_traverser::last_match ( ) const
inlinenoexcept

Definition at line 3770 of file clipp.h.

◆ matched()

bool clipp::detail::scoped_dfs_traverser::matched ( ) const
inlinenoexcept

Definition at line 3789 of file clipp.h.

◆ next_after_match()

void clipp::detail::scoped_dfs_traverser::next_after_match ( scoped_dfs_traverser  match)
inline

Definition at line 3845 of file clipp.h.

◆ next_after_siblings()

scoped_dfs_traverser& clipp::detail::scoped_dfs_traverser::next_after_siblings ( )
inline

Definition at line 3801 of file clipp.h.

◆ next_alternative()

scoped_dfs_traverser& clipp::detail::scoped_dfs_traverser::next_alternative ( )
inline

Definition at line 3798 of file clipp.h.

◆ next_sibling()

scoped_dfs_traverser& clipp::detail::scoped_dfs_traverser::next_sibling ( )
inline

Definition at line 3795 of file clipp.h.

◆ operator bool()

clipp::detail::scoped_dfs_traverser::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 3781 of file clipp.h.

◆ operator*()

const pattern& clipp::detail::scoped_dfs_traverser::operator* ( ) const
inlinenoexcept

Definition at line 3777 of file clipp.h.

◆ operator++()

scoped_dfs_traverser& clipp::detail::scoped_dfs_traverser::operator++ ( )
inline

Definition at line 3805 of file clipp.h.

◆ operator->()

const pattern* clipp::detail::scoped_dfs_traverser::operator-> ( ) const
inlinenoexcept

Definition at line 3776 of file clipp.h.

◆ parent()

const group& clipp::detail::scoped_dfs_traverser::parent ( ) const
inlinenoexcept

Definition at line 3772 of file clipp.h.

◆ ptr()

const pattern* clipp::detail::scoped_dfs_traverser::ptr ( ) const
inlinenoexcept

Definition at line 3779 of file clipp.h.

◆ repeat_group()

const group* clipp::detail::scoped_dfs_traverser::repeat_group ( ) const
inlinenoexcept

Definition at line 3773 of file clipp.h.

◆ start_of_repeat_group()

bool clipp::detail::scoped_dfs_traverser::start_of_repeat_group ( ) const
inlinenoexcept

Definition at line 3791 of file clipp.h.


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