clang-tools 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::query::QueryParser::LexOrCompleteWord< T > Struct Template Reference

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 51 of file QueryParser.cpp.

Constructor & Destructor Documentation

◆ LexOrCompleteWord()

template<typename T >
clang::query::QueryParser::LexOrCompleteWord< T >::LexOrCompleteWord ( QueryParser P,
StringRef &  OutWord 
)
inline

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

◆ Switch

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

◆ Word

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

◆ WordCompletionPos

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

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