clang-tools  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::query::QueryParser::LexOrCompleteWord< T > Struct Template Reference
Collaboration diagram for clang::query::QueryParser::LexOrCompleteWord< T >:
Collaboration graph
[legend]

Public Member Functions

 LexOrCompleteWord (QueryParser *P, StringRef Word, size_t WCP)
 
template<unsigned N>
LexOrCompleteWordCase (const char(&S)[N], const T &Value, bool IsCompletion=true)
 
Default (const T &Value) const
 

Public Attributes

StringSwitch< T > Switch
 
QueryParserP
 
StringRef Word
 
size_t WordCompletionPos
 

Detailed Description

template<typename T>
struct clang::query::QueryParser::LexOrCompleteWord< T >

Definition at line 52 of file QueryParser.cpp.

Constructor & Destructor Documentation

◆ LexOrCompleteWord()

template<typename T>
clang::query::QueryParser::LexOrCompleteWord< T >::LexOrCompleteWord ( QueryParser P,
StringRef  Word,
size_t  WCP 
)
inline

Definition at line 61 of file QueryParser.cpp.

Member Function Documentation

◆ Case()

template<typename T>
template<unsigned N>
LexOrCompleteWord& clang::query::QueryParser::LexOrCompleteWord< T >::Case ( const char(&)  S[N],
const T &  Value,
bool  IsCompletion = true 
)
inline

◆ Default()

template<typename T>
T clang::query::QueryParser::LexOrCompleteWord< T >::Default ( const T &  Value) const
inline

Member Data Documentation

◆ P

Definition at line 55 of file QueryParser.cpp.

◆ Switch

template<typename T>
StringSwitch<T> clang::query::QueryParser::LexOrCompleteWord< T >::Switch

Definition at line 53 of file QueryParser.cpp.

◆ Word

template<typename T>
StringRef clang::query::QueryParser::LexOrCompleteWord< T >::Word

Definition at line 56 of file QueryParser.cpp.

◆ WordCompletionPos

template<typename T>
size_t clang::query::QueryParser::LexOrCompleteWord< T >::WordCompletionPos

Definition at line 59 of file QueryParser.cpp.


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