Lines Matching defs:NodeMatch

1586 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch,
1592 Matchers.DeclOrStmt.emplace_back(traverse(*TK, NodeMatch), Action);
1594 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action);
1598 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch,
1600 Matchers.Type.emplace_back(NodeMatch, Action);
1604 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch,
1610 Matchers.DeclOrStmt.emplace_back(traverse(*TK, NodeMatch), Action);
1612 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action);
1616 void MatchFinder::addMatcher(const NestedNameSpecifierMatcher &NodeMatch,
1618 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action);
1622 void MatchFinder::addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch,
1624 Matchers.NestedNameSpecifierLoc.emplace_back(NodeMatch, Action);
1628 void MatchFinder::addMatcher(const TypeLocMatcher &NodeMatch,
1630 Matchers.TypeLoc.emplace_back(NodeMatch, Action);
1634 void MatchFinder::addMatcher(const CXXCtorInitializerMatcher &NodeMatch,
1636 Matchers.CtorInit.emplace_back(NodeMatch, Action);
1640 void MatchFinder::addMatcher(const TemplateArgumentLocMatcher &NodeMatch,
1642 Matchers.TemplateArgumentLoc.emplace_back(NodeMatch, Action);
1652 bool MatchFinder::addDynamicMatcher(const internal::DynTypedMatcher &NodeMatch,
1654 if (NodeMatch.canConvertTo<Decl>()) {
1655 addMatcher(NodeMatch.convertTo<Decl>(), Action);
1657 } else if (NodeMatch.canConvertTo<QualType>()) {
1658 addMatcher(NodeMatch.convertTo<QualType>(), Action);
1660 } else if (NodeMatch.canConvertTo<Stmt>()) {
1661 addMatcher(NodeMatch.convertTo<Stmt>(), Action);
1663 } else if (NodeMatch.canConvertTo<NestedNameSpecifier>()) {
1664 addMatcher(NodeMatch.convertTo<NestedNameSpecifier>(), Action);
1666 } else if (NodeMatch.canConvertTo<NestedNameSpecifierLoc>()) {
1667 addMatcher(NodeMatch.convertTo<NestedNameSpecifierLoc>(), Action);
1669 } else if (NodeMatch.canConvertTo<TypeLoc>()) {
1670 addMatcher(NodeMatch.convertTo<TypeLoc>(), Action);
1672 } else if (NodeMatch.canConvertTo<CXXCtorInitializer>()) {
1673 addMatcher(NodeMatch.convertTo<CXXCtorInitializer>(), Action);
1675 } else if (NodeMatch.canConvertTo<TemplateArgumentLoc>()) {
1676 addMatcher(NodeMatch.convertTo<TemplateArgumentLoc>(), Action);
1678 } else if (NodeMatch.canConvertTo<Attr>()) {
1679 addMatcher(NodeMatch.convertTo<Attr>(), Action);