struct LineEditor::ListCompleterConcept
Declaration
struct LineEditor::ListCompleterConcept : public CompleterConcept { /* full declaration omitted */ };
Declared at: llvm/include/llvm/LineEditor/LineEditor.h:121
Inherits from: LineEditor::CompleterConcept
Method Overview
- public llvm::LineEditor::CompletionAction complete(llvm::StringRef Buffer, size_t Pos) const
- public static std::string getCommonPrefix(const std::vector<Completion> & Comps)
- public virtual std::vector<Completion> getCompletions(llvm::StringRef Buffer, size_t Pos) const
- public ~ListCompleterConcept()
Inherited from LineEditor::CompleterConcept:
Methods
¶llvm::LineEditor::CompletionAction complete(
llvm::StringRef Buffer,
size_t Pos) const
llvm::LineEditor::CompletionAction complete(
llvm::StringRef Buffer,
size_t Pos) const
Declared at: llvm/include/llvm/LineEditor/LineEditor.h:123
Parameters
- llvm::StringRef Buffer
- size_t Pos
¶static std::string getCommonPrefix(
const std::vector<Completion>& Comps)
static std::string getCommonPrefix(
const std::vector<Completion>& Comps)
Declared at: llvm/include/llvm/LineEditor/LineEditor.h:124
Parameters
- const std::vector<Completion>& Comps
¶virtual std::vector<Completion> getCompletions(
llvm::StringRef Buffer,
size_t Pos) const
virtual std::vector<Completion> getCompletions(
llvm::StringRef Buffer,
size_t Pos) const
Declared at: llvm/include/llvm/LineEditor/LineEditor.h:125
Parameters
- llvm::StringRef Buffer
- size_t Pos
¶~ListCompleterConcept()
~ListCompleterConcept()
Declared at: llvm/include/llvm/LineEditor/LineEditor.h:122