MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / SectionTracker

Method SectionTracker

deps/Catch/catch.hpp:14402–14413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14400 }
14401
14402 SectionTracker::SectionTracker( NameAndLocation const& nameAndLocation, TrackerContext& ctx, ITracker* parent )
14403 : TrackerBase( nameAndLocation, ctx, parent ),
14404 m_trimmed_name(trim(nameAndLocation.name))
14405 {
14406 if( parent ) {
14407 while( !parent->isSectionTracker() )
14408 parent = &parent->parent();
14409
14410 SectionTracker& parentSection = static_cast<SectionTracker&>( *parent );
14411 addNextFilters( parentSection.m_filters );
14412 }
14413 }
14414
14415 bool SectionTracker::isComplete() const {
14416 bool complete = true;

Callers

nothing calls this directly

Calls 2

isSectionTrackerMethod · 0.80
trimFunction · 0.70

Tested by

no test coverage detected