Lines Matching refs:Matchers
39 std::vector<Matcher<T>> Matchers; variable
42 SubsequenceMatcher(std::vector<Matcher<T>> M) : Matchers(M) {} in SubsequenceMatcher()
47 for (const auto &M : Matchers) { in DescribeTo()
57 std::vector<int> Matches(Matchers.size()); in MatchAndExplain()
59 for (size_t J = 0; I < Matchers.size() && J < V.size(); ++J) in MatchAndExplain()
60 if (Matchers[I].Matches(V[J])) in MatchAndExplain()
62 if (I == Matchers.size()) // We exhausted all matchers. in MatchAndExplain()
68 Matchers[K].DescribeTo(L->stream()); in MatchAndExplain()
72 Matchers[I].DescribeTo(L->stream()); in MatchAndExplain()
84 std::tuple<M...> Matchers; variable
88 : Matchers(std::make_tuple(std::forward<M>(Args)...)) {} in PolySubsequenceMatcher()
98 return {std::get<I>(Matchers)...}; in TypedMatchers()