struct LineEditor::Completion
Declaration
struct LineEditor::Completion { /* full declaration omitted */ };
Description
A possible completion at a given cursor position.
Declared at: llvm/include/llvm/LineEditor/LineEditor.h:66
Member Variables
- public std::string TypedText
- The text to insert. If the user has already input some of the completion, this should only include the rest of the text.
- public std::string DisplayText
- A description of this completion. This may be the completion itself, or maybe a summary of its type or arguments.
Method Overview
- public Completion()
- public Completion(const std::string & TypedText, const std::string & DisplayText)
Methods
¶Completion()
Completion()
Declared at: llvm/include/llvm/LineEditor/LineEditor.h:67
¶Completion(const std::string& TypedText,
const std::string& DisplayText)
Completion(const std::string& TypedText,
const std::string& DisplayText)
Declared at: llvm/include/llvm/LineEditor/LineEditor.h:68
Parameters
- const std::string& TypedText
- const std::string& DisplayText