clang API Documentation
#include <Registry.h>
Public Member Functions | |
MatcherCompletion () | |
MatcherCompletion (StringRef TypedText, StringRef MatcherDecl, unsigned Specificity) | |
bool | operator== (const MatcherCompletion &Other) const |
Public Attributes | |
std::string | TypedText |
The text to type to select this matcher. | |
std::string | MatcherDecl |
The "declaration" of the matcher, with type information. | |
unsigned | Specificity |
Value corresponding to the "specificity" of the converted matcher. |
Definition at line 37 of file Registry.h.
Definition at line 38 of file Registry.h.
clang::ast_matchers::dynamic::MatcherCompletion::MatcherCompletion | ( | StringRef | TypedText, |
StringRef | MatcherDecl, | ||
unsigned | Specificity | ||
) | [inline] |
Definition at line 39 of file Registry.h.
bool clang::ast_matchers::dynamic::MatcherCompletion::operator== | ( | const MatcherCompletion & | Other | ) | const [inline] |
Definition at line 57 of file Registry.h.
References MatcherDecl, and TypedText.
The "declaration" of the matcher, with type information.
Definition at line 48 of file Registry.h.
Referenced by operator==().
Value corresponding to the "specificity" of the converted matcher.
Zero specificity indicates that this conversion would produce a trivial matcher that will either always or never match. Such matchers are excluded from code completion results.
Definition at line 55 of file Registry.h.
Referenced by clang::ast_matchers::dynamic::Parser::completeExpression().
The text to type to select this matcher.
Definition at line 45 of file Registry.h.
Referenced by clang::ast_matchers::dynamic::Parser::completeExpression(), and operator==().