clang API Documentation

Public Member Functions | Public Attributes
clang::ast_matchers::dynamic::MatcherCompletion Struct Reference

#include <Registry.h>

Collaboration diagram for clang::ast_matchers::dynamic::MatcherCompletion:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Definition at line 37 of file Registry.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool clang::ast_matchers::dynamic::MatcherCompletion::operator== ( const MatcherCompletion Other) const [inline]

Definition at line 57 of file Registry.h.

References MatcherDecl, and TypedText.


Member Data Documentation

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==().


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