Home
last modified time | relevance | path

Searched refs:matchAgainst (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/
DBeautifulSoup.py928 for attr, matchAgainst in self.attrs.items():
937 if not self._matches(attrValue, matchAgainst):
974 def _matches(self, markup, matchAgainst): argument
977 if matchAgainst is True:
979 elif callable(matchAgainst):
980 result = matchAgainst(markup)
989 if hasattr(matchAgainst, 'match'):
991 result = markup and matchAgainst.search(markup)
992 elif hasattr(matchAgainst, '__iter__'): # list-like
993 result = markup in matchAgainst
[all …]