LLVM: llvm::LineEditor::CompletionAction Struct Reference (original) (raw)
The action to perform upon a completion request. More...
#include "[llvm/LineEditor/LineEditor.h](LineEditor%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| enum | ActionKind { AK_Insert, AK_ShowCompletions } |
| Public Attributes | |
|---|---|
| ActionKind | Kind |
| std::string | Text |
| The text to insert. | |
| std::vector< std::string > | Completions |
| The list of completions to show. |
The action to perform upon a completion request.
Definition at line 50 of file LineEditor.h.
◆ ActionKind
| Enumerator | |
|---|---|
| AK_Insert | Insert Text at the cursor position. |
| AK_ShowCompletions | Show Completions, or beep if the list is empty. |
Definition at line 51 of file LineEditor.h.
◆ Completions
std::vectorstd::string llvm::LineEditor::CompletionAction::Completions
The list of completions to show.
Definition at line 64 of file LineEditor.h.
◆ Kind
ActionKind llvm::LineEditor::CompletionAction::Kind
◆ Text
std::string llvm::LineEditor::CompletionAction::Text
The documentation for this struct was generated from the following file:
- include/llvm/LineEditor/LineEditor.h