LLDB mainline
|
A single completion and all associated data. More...
#include <CompletionRequest.h>
Public Member Functions | |
Completion (llvm::StringRef completion, llvm::StringRef description, CompletionMode mode) | |
const std::string & | GetCompletion () const |
const std::string & | GetDescription () const |
CompletionMode | GetMode () const |
std::string | GetUniqueKey () const |
Generates a string that uniquely identifies this completion result. | |
Private Attributes | |
std::string | m_completion |
The actual text that should be completed. | |
std::string | m_descripton |
The description that should be displayed to the user alongside the completion text. | |
CompletionMode | m_mode |
A single completion and all associated data.
Definition at line 41 of file CompletionRequest.h.
|
inline |
Definition at line 53 of file CompletionRequest.h.
|
inline |
Definition at line 57 of file CompletionRequest.h.
References m_completion.
Referenced by lldb_private::Editline::TabCommand().
|
inline |
Definition at line 58 of file CompletionRequest.h.
References m_descripton.
|
inline |
Definition at line 59 of file CompletionRequest.h.
References m_mode.
Referenced by lldb_private::Editline::TabCommand().
std::string CompletionResult::Completion::GetUniqueKey | ( | ) | const |
Generates a string that uniquely identifies this completion result.
Definition at line 44 of file CompletionRequest.cpp.
References m_completion, m_descripton, and m_mode.
Referenced by lldb_private::CompletionResult::AddResult().
|
private |
The actual text that should be completed.
The meaning of this text is defined by the CompletionMode.
Definition at line 46 of file CompletionRequest.h.
Referenced by GetCompletion(), and GetUniqueKey().
|
private |
The description that should be displayed to the user alongside the completion text.
Definition at line 49 of file CompletionRequest.h.
Referenced by GetDescription(), and GetUniqueKey().
|
private |
Definition at line 50 of file CompletionRequest.h.
Referenced by GetMode(), and GetUniqueKey().