clang-tools  7.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 &OutWord)
 
LexOrCompleteWordCase (llvm::StringLiteral CaseStr, const T &Value, bool IsCompletion=true)
 
Default (T Value)
 

Public Attributes

StringRef Word
 
StringSwitch< T > Switch
 
QueryParserP
 
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 &  OutWord 
)
inline

Definition at line 64 of file QueryParser.cpp.

Member Function Documentation

◆ Case()

template<typename T >
LexOrCompleteWord& clang::query::QueryParser::LexOrCompleteWord< T >::Case ( llvm::StringLiteral  CaseStr,
const T &  Value,
bool  IsCompletion = true 
)
inline

◆ Default()

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

Member Data Documentation

◆ P

Definition at line 56 of file QueryParser.cpp.

◆ Switch

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

Definition at line 54 of file QueryParser.cpp.

◆ Word

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

Definition at line 53 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: