class VariadicOperatorMatcher
Declaration
template <typename... Ps>
class VariadicOperatorMatcher { /* full declaration omitted */ };
Description
Polymorphic matcher object that uses a \c DynTypedMatcher::VariadicOperator operator. Input matchers can have any type (including other polymorphic matcher types), and the actual Matcher <T > is generated on demand with an implicit conversion operator.
Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1350
Templates
- Ps
Member Variables
- private const DynTypedMatcher::VariadicOperator Op
- private std::tuple<Ps...> Params
Method Overview
- public VariadicOperatorMatcher<Ps...>(DynTypedMatcher::VariadicOperator Op, Ps &&... Params)
- private template <typename T, std::size_t... Is>std::vector<DynTypedMatcher> getMatchers(std::index_sequence<Is...>) const &
- private template <typename T, std::size_t... Is>std::vector<DynTypedMatcher> getMatchers(std::index_sequence<Is...>) &&
- public template <typename T>Matcher<T> operator Matcher<type-parameter-1-0>() const &
- public template <typename T>Matcher<T> operator Matcher<type-parameter-1-0>() &&
Methods
¶VariadicOperatorMatcher<Ps...>(
DynTypedMatcher::VariadicOperator Op,
Ps&&... Params)
VariadicOperatorMatcher<Ps...>(
DynTypedMatcher::VariadicOperator Op,
Ps&&... Params)
Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1352
Parameters
- DynTypedMatcher::VariadicOperator Op
- Ps&&... Params
¶template <typename T, std::size_t... Is>
std::vector<DynTypedMatcher> getMatchers(
std::index_sequence<Is...>) const&
template <typename T, std::size_t... Is>
std::vector<DynTypedMatcher> getMatchers(
std::index_sequence<Is...>) const&
Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1372
Templates
- T
- std::size_t Is
Parameters
- std::index_sequence<Is...>
¶template <typename T, std::size_t... Is>
std::vector<DynTypedMatcher> getMatchers(
std::index_sequence<Is...>) &&
template <typename T, std::size_t... Is>
std::vector<DynTypedMatcher> getMatchers(
std::index_sequence<Is...>) &&
Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1377
Templates
- T
- std::size_t Is
Parameters
- std::index_sequence<Is...>
¶template <typename T>
Matcher<T> operator Matcher<type - parameter - 1 -
0>() const&
template <typename T>
Matcher<T> operator Matcher<type - parameter - 1 -
0>() const&
Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1355
Templates
- T
¶template <typename T>
Matcher<T>
operator Matcher<type - parameter - 1 - 0>() &&
template <typename T>
Matcher<T>
operator Matcher<type - parameter - 1 - 0>() &&
Declared at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:1362
Templates
- T