clang  3.7.0
Public Member Functions | Public Attributes | List of all members
clang::ast_matchers::dynamic::MatcherCompletion Struct Reference

#include <Registry.h>

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

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. More...
 
std::string MatcherDecl
 The "declaration" of the matcher, with type information. More...
 
unsigned Specificity
 Value corresponding to the "specificity" of the converted matcher. More...
 

Detailed Description

Definition at line 37 of file Registry.h.

Constructor & Destructor Documentation

clang::ast_matchers::dynamic::MatcherCompletion::MatcherCompletion ( )
inline

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

std::string clang::ast_matchers::dynamic::MatcherCompletion::MatcherDecl

The "declaration" of the matcher, with type information.

Definition at line 48 of file Registry.h.

Referenced by operator==().

unsigned clang::ast_matchers::dynamic::MatcherCompletion::Specificity

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

std::string clang::ast_matchers::dynamic::MatcherCompletion::TypedText

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: