Home | History | Annotate | Download | only in Dynamic

Lines Matching defs:Matcher

29     // Optimizations on the matcher framework make simple matchers like
30 // 'stmt()' to be all the same matcher.
32 ast_matchers::internal::Matcher<Stmt> M = stmt(stmt(), stmt());
47 const ExpectedMatchersTy::value_type *Matcher =
49 return reinterpret_cast<MatcherCtor>(Matcher);
57 const ExpectedMatchersTy::value_type *Matcher =
59 MatcherInfo ToStore = { Matcher->first, NameRange, Args, BindID };
61 return VariantMatcher::SingleMatcher(Matcher->second);
74 typedef std::map<std::string, ast_matchers::internal::Matcher<Stmt> >
161 using ast_matchers::internal::Matcher;
178 Matcher<Decl> M = VarDecl->unconditionalConvertTo<Decl>();
208 EXPECT_EQ("1:1: Error parsing argument 1 for matcher hasInitializer.\n"
209 "2:5: Error parsing argument 1 for matcher binaryOperator.\n"
210 "2:20: Error building matcher hasLHS.\n"
212 "(Expected = Matcher<Expr>) != (Actual = String)",
231 "1:5: Error parsing matcher. Found token <123> while looking for '('.",
234 "1:1: Matcher not found: Foo\n"
235 "1:9: Error parsing matcher. Found token <123> while looking for ','.",
238 "1:1: Error parsing argument 1 for matcher stmt.\n"
242 "1:1: Matcher not found: Foo\n"
243 "1:4: Error parsing matcher. Found end-of-code while looking for ')'.",
247 EXPECT_EQ("Input value is not a matcher expression.",
249 EXPECT_EQ("1:1: Matcher not found: Foo\n"
250 "1:1: Error parsing argument 1 for matcher Foo.\n"
262 EXPECT_EQ("1:1: Error building matcher isArrow.\n"
263 "1:1: Matcher does not support binding.",
266 "Matcher<DoStmt|ForStmt|WhileStmt|CXXForRangeStmt|FunctionDecl>",
271 EXPECT_EQ("1:1: Error building matcher callee.\n"
273 "(Expected = Matcher<Stmt>) != (Actual = String)\n"
275 "(Expected = Matcher<Decl>) != (Actual = String)",
284 EXPECT_EQ("Matcher<Stmt> whileStmt(Matcher<WhileStmt>...)",
294 // Can complete non-matcher types.
313 EXPECT_EQ("Matcher<FunctionDecl> hasParamA", Comps[0].MatcherDecl);
317 "Matcher<FunctionDecl> hasParameter(unsigned, Matcher<ParmVarDecl>)",
322 "Matcher<Decl> "
323 "hasParent(Matcher<NestedNameSpecifierLoc|TypeLoc|Decl|...>)",