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

Public Member Functions

 LexOrCompleteWord (QueryParser *queryParser, llvm::StringRef &outWord)
 
LexOrCompleteWordCase (llvm::StringLiteral caseStr, const T &value, bool isCompletion=true)
 
Default (T value)
 

Public Attributes

llvm::StringRef word
 
llvm::StringSwitch< T > stringSwitch
 
QueryParserqueryParser
 
size_t wordCompletionPos
 

Detailed Description

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

Definition at line 45 of file QueryParser.cpp.

Constructor & Destructor Documentation

◆ LexOrCompleteWord()

template<typename T >
mlir::query::QueryParser::LexOrCompleteWord< T >::LexOrCompleteWord ( QueryParser queryParser,
llvm::StringRef &  outWord 
)
inline

Member Function Documentation

◆ Case()

template<typename T >
LexOrCompleteWord& mlir::query::QueryParser::LexOrCompleteWord< T >::Case ( llvm::StringLiteral  caseStr,
const T &  value,
bool  isCompletion = true 
)
inline

◆ Default()

template<typename T >
T mlir::query::QueryParser::LexOrCompleteWord< T >::Default ( value)
inline

Member Data Documentation

◆ queryParser

template<typename T >
QueryParser* mlir::query::QueryParser::LexOrCompleteWord< T >::queryParser

◆ stringSwitch

template<typename T >
llvm::StringSwitch<T> mlir::query::QueryParser::LexOrCompleteWord< T >::stringSwitch

◆ word

template<typename T >
llvm::StringRef mlir::query::QueryParser::LexOrCompleteWord< T >::word

◆ wordCompletionPos

template<typename T >
size_t mlir::query::QueryParser::LexOrCompleteWord< T >::wordCompletionPos

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