private function adjustNestingLevelToIgnoredScope()
{
// Iterated through ignored scope stack to find out if
// anything can be popped out and adjust nesting level.
foreach ($this->ignoredScopeStack as $key => $ignoredScope) {
$this->unsetScopeIfNotCurrent($key, $ignoredScope);
}
}