LLVM 22.0.0git
|
A possible completion at a given cursor position. More...
#include "llvm/LineEditor/LineEditor.h"
Public Member Functions | |
Completion ()=default | |
Completion (const std::string &TypedText, const std::string &DisplayText) |
Public Attributes | |
std::string | TypedText |
The text to insert. | |
std::string | DisplayText |
A description of this completion. |
A possible completion at a given cursor position.
Definition at line 68 of file LineEditor.h.
|
default |
|
inline |
Definition at line 70 of file LineEditor.h.
References DisplayText, and TypedText.
std::string llvm::LineEditor::Completion::DisplayText |
A description of this completion.
This may be the completion itself, or maybe a summary of its type or arguments.
Definition at line 79 of file LineEditor.h.
Referenced by Completion().
std::string llvm::LineEditor::Completion::TypedText |
The text to insert.
If the user has already input some of the completion, this should only include the rest of the text.
Definition at line 75 of file LineEditor.h.
Referenced by Completion().