class ArgKind
Declaration
class ArgKind { /* full declaration omitted */ };
Description
Kind identifier. It supports all types that VariantValue can contain.
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:34
Member Variables
- private clang::ast_matchers::dynamic::ArgKind::Kind K
- private clang::ASTNodeKind NodeKind
Method Overview
- public ArgKind(clang::ast_matchers::dynamic::ArgKind::Kind K)
- private ArgKind(clang::ast_matchers::dynamic::ArgKind::Kind K, clang::ASTNodeKind NK)
- public static clang::ast_matchers::dynamic::ArgKind MakeMatcherArg(clang::ASTNodeKind MatcherKind)
- public static clang::ast_matchers::dynamic::ArgKind MakeNodeArg(clang::ASTNodeKind MatcherKind)
- public std::string asString() const
- public clang::ast_matchers::dynamic::ArgKind::Kind getArgKind() const
- public clang::ASTNodeKind getMatcherKind() const
- public clang::ASTNodeKind getNodeKind() const
- public bool isConvertibleTo(clang::ast_matchers::dynamic::ArgKind To, unsigned int * Specificity) const
Methods
¶ArgKind(
clang::ast_matchers::dynamic::ArgKind::Kind K)
ArgKind(
clang::ast_matchers::dynamic::ArgKind::Kind K)
Description
Constructor for non-matcher types.
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:45
Parameters
- clang::ast_matchers::dynamic::ArgKind::Kind K
¶ArgKind(
clang::ast_matchers::dynamic::ArgKind::Kind K,
clang::ASTNodeKind NK)
ArgKind(
clang::ast_matchers::dynamic::ArgKind::Kind K,
clang::ASTNodeKind NK)
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:85
Parameters
- clang::ast_matchers::dynamic::ArgKind::Kind K
- clang::ASTNodeKind NK
¶static clang::ast_matchers::dynamic::ArgKind
MakeMatcherArg(clang::ASTNodeKind MatcherKind)
static clang::ast_matchers::dynamic::ArgKind
MakeMatcherArg(clang::ASTNodeKind MatcherKind)
Description
Constructor for matcher types.
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:48
Parameters
- clang::ASTNodeKind MatcherKind
¶static clang::ast_matchers::dynamic::ArgKind
MakeNodeArg(clang::ASTNodeKind MatcherKind)
static clang::ast_matchers::dynamic::ArgKind
MakeNodeArg(clang::ASTNodeKind MatcherKind)
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:52
Parameters
- clang::ASTNodeKind MatcherKind
¶std::string asString() const
std::string asString() const
Description
String representation of the type.
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:82
¶clang::ast_matchers::dynamic::ArgKind::Kind
getArgKind() const
clang::ast_matchers::dynamic::ArgKind::Kind
getArgKind() const
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:56
¶clang::ASTNodeKind getMatcherKind() const
clang::ASTNodeKind getMatcherKind() const
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:57
¶clang::ASTNodeKind getNodeKind() const
clang::ASTNodeKind getNodeKind() const
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:61
¶bool isConvertibleTo(
clang::ast_matchers::dynamic::ArgKind To,
unsigned int* Specificity) const
bool isConvertibleTo(
clang::ast_matchers::dynamic::ArgKind To,
unsigned int* Specificity) const
Description
Determines if this type can be converted to \p To.
Declared at: clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:72
Parameters
- clang::ast_matchers::dynamic::ArgKind To
- the requested destination type.
- unsigned int* Specificity
- value corresponding to the "specificity" of the conversion.