Lines Matching refs:functor
124 template <typename Functor>
125 static bool forEachTagSelector(Functor& functor, const CSSSelector& selector)
128 if (functor(*current))
132 if (forEachTagSelector(functor, *subSelector))
141 template <typename Functor>
142 static bool forEachSelector(Functor& functor, const CSSSelectorList* selectorList)
145 if (forEachTagSelector(functor, *selector))
166 SelectorNeedsNamespaceResolutionFunctor functor;
167 return forEachSelector(functor, this);
180 SelectorHasShadowDistributed functor;
181 return forEachTagSelector(functor, selectorAt(index));
194 SelectorCrossesTreeScopes functor;
195 return forEachTagSelector(functor, selectorAt(index));