clang  15.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]
Collaboration diagram for clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload:
Collaboration graph
[legend]

Public Member Functions

 PolymorphicPayload (std::vector< DynTypedMatcher > MatchersIn)
 
 ~PolymorphicPayload () override
 
llvm::Optional< DynTypedMatcher > getSingleMatcher () const override
 
std::string getTypeAsString () const override
 
llvm::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 120 of file VariantValue.cpp.

Constructor & Destructor Documentation

◆ PolymorphicPayload()

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

Definition at line 122 of file VariantValue.cpp.

◆ ~PolymorphicPayload()

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

Definition at line 125 of file VariantValue.cpp.

Member Function Documentation

◆ getSingleMatcher()

llvm::Optional<DynTypedMatcher> clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload::getSingleMatcher ( ) const
inlineoverride

Definition at line 127 of file VariantValue.cpp.

References Matchers.

◆ getTypeAsString()

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

Definition at line 133 of file VariantValue.cpp.

References string().

◆ getTypedMatcher()

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

Definition at line 144 of file VariantValue.cpp.

References Matchers.

◆ isConvertibleTo()

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

Definition at line 168 of file VariantValue.cpp.

Member Data Documentation

◆ Matchers

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

Definition at line 183 of file VariantValue.cpp.

Referenced by getSingleMatcher(), and getTypedMatcher().


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