clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload Class Reference
Inheritance diagram for clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload:
Inheritance graph
[legend]

Public Member Functions

 PolymorphicPayload (std::vector< DynTypedMatcher > MatchersIn)
 
 ~PolymorphicPayload () override
 
std::optional< DynTypedMatcher > getSingleMatcher () const override
 
std::string getTypeAsString () const override
 
std::optional< DynTypedMatcher > getTypedMatcher (const MatcherOps &Ops) const override
 
bool isConvertibleTo (ASTNodeKind Kind, unsigned *Specificity) const override
 

Public Attributes

const std::vector< DynTypedMatcher > Matchers
 

Detailed Description

Definition at line 121 of file VariantValue.cpp.

Constructor & Destructor Documentation

◆ PolymorphicPayload()

clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload::PolymorphicPayload ( std::vector< DynTypedMatcher >  MatchersIn)
inline

Definition at line 123 of file VariantValue.cpp.

◆ ~PolymorphicPayload()

clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload::~PolymorphicPayload ( )
inlineoverride

Definition at line 126 of file VariantValue.cpp.

Member Function Documentation

◆ getSingleMatcher()

std::optional< DynTypedMatcher > clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload::getSingleMatcher ( ) const
inlineoverride

Definition at line 128 of file VariantValue.cpp.

References Matchers.

◆ getTypeAsString()

std::string clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload::getTypeAsString ( ) const
inlineoverride

Definition at line 134 of file VariantValue.cpp.

References Matchers.

◆ getTypedMatcher()

std::optional< DynTypedMatcher > clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload::getTypedMatcher ( const MatcherOps &  Ops) const
inlineoverride

Definition at line 145 of file VariantValue.cpp.

References clang::Found, and Matchers.

◆ isConvertibleTo()

bool clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload::isConvertibleTo ( ASTNodeKind  Kind,
unsigned Specificity 
) const
inlineoverride

Member Data Documentation

◆ Matchers

const std::vector<DynTypedMatcher> clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload::Matchers

The documentation for this class was generated from the following file: