Lines Matching refs:t
222 d = dict((t.__name__, t) for t in all_subclasses(FileMatch))
272 def matches_of_type(self, t: Type[T]) -> List[T]:
273 if t not in self.match_index:
274 self.match_index[t] = list(self._matches_of_type(t))
275 return self.match_index[t] # type: ignore
277 def find_matches(self, t: Type[T], name: str, group: str='name') -> List[T]:
278 indexkey = (t, name, group)
282 for m in self.matches_of_type(t):
289 def find_match(self, t: Type[T], name: str, group: str='name') -> Optional[T]:
290 l = self.find_matches(t, name, group)
294 logger.warn("multiple matches found for %r (%s=%r)", t, group, name)
336 def find_match(self, t: Type[T], name: str, group: str='name') -> Optional[T]:
337 for m in self.matches_of_type(t):