Home
last modified time | relevance | path

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

/external/webkit/Tools/Scripts/webkitpy/thirdparty/
DBeautifulSoup.py883 for attr, matchAgainst in self.attrs.items():
892 if not self._matches(attrValue, matchAgainst):
928 def _matches(self, markup, matchAgainst): argument
931 if matchAgainst == True and type(matchAgainst) == types.BooleanType:
933 elif callable(matchAgainst):
934 result = matchAgainst(markup)
943 if hasattr(matchAgainst, 'match'):
945 result = markup and matchAgainst.search(markup)
946 elif (isList(matchAgainst)
947 and (markup is not None or not isString(matchAgainst))):
[all …]