class VariantMatcher::Payload
Declaration
class VariantMatcher::Payload { /* full declaration omitted */ };
Description
Payload interface to be specialized by each matcher type. It follows a similar interface as VariantMatcher itself.
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:132
Method Overview
- public virtual llvm::Optional<DynTypedMatcher> getSingleMatcher() const
- public virtual std::string getTypeAsString() const
- public virtual llvm::Optional<DynTypedMatcher> getTypedMatcher(const clang::ast_matchers::dynamic::VariantMatcher::MatcherOps & Ops) const
- public virtual bool isConvertibleTo(clang::ASTNodeKind Kind, unsigned int * Specificity) const
- public virtual ~Payload()
Methods
¶virtual llvm::Optional<DynTypedMatcher>
getSingleMatcher() const
virtual llvm::Optional<DynTypedMatcher>
getSingleMatcher() const
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:135
¶virtual std::string getTypeAsString() const
virtual std::string getTypeAsString() const
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:136
¶virtual llvm::Optional<DynTypedMatcher>
getTypedMatcher(
const clang::ast_matchers::dynamic::
VariantMatcher::MatcherOps& Ops) const
virtual llvm::Optional<DynTypedMatcher>
getTypedMatcher(
const clang::ast_matchers::dynamic::
VariantMatcher::MatcherOps& Ops) const
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:138
Parameters
- const clang::ast_matchers::dynamic:: VariantMatcher::MatcherOps& Ops
¶virtual bool isConvertibleTo(
clang::ASTNodeKind Kind,
unsigned int* Specificity) const
virtual bool isConvertibleTo(
clang::ASTNodeKind Kind,
unsigned int* Specificity) const
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:139
Parameters
- clang::ASTNodeKind Kind
- unsigned int* Specificity
¶virtual ~Payload()
virtual ~Payload()
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:134