Lines Matching refs:LineEditor
25 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath()
34 LineEditor::CompleterConcept::~CompleterConcept() = default;
35 LineEditor::ListCompleterConcept::~ListCompleterConcept() = default;
37 std::string LineEditor::ListCompleterConcept::getCommonPrefix( in getCommonPrefix()
54 LineEditor::CompletionAction
55 LineEditor::ListCompleterConcept::complete(StringRef Buffer, size_t Pos) const { in complete()
82 LineEditor::CompletionAction LineEditor::getCompletionAction(StringRef Buffer, in getCompletionAction()
97 struct LineEditor::InternalData {
98 LineEditor *LE;
112 LineEditor::InternalData *Data; in ElGetPromptFn()
123 LineEditor::InternalData *Data; in ElCompletionFn()
144 LineEditor::CompletionAction Action = Data->LE->getCompletionAction( in ElCompletionFn()
148 case LineEditor::CompletionAction::AK_Insert: in ElCompletionFn()
152 case LineEditor::CompletionAction::AK_ShowCompletions: in ElCompletionFn()
194 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
230 LineEditor::~LineEditor() { in ~LineEditor()
238 void LineEditor::saveHistory() { in saveHistory()
245 void LineEditor::loadHistory() { in loadHistory()
252 void LineEditor::setHistorySize(int size) { in setHistorySize()
257 std::optional<std::string> LineEditor::readLine() const { in readLine()
282 struct LineEditor::InternalData {
287 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
294 LineEditor::~LineEditor() { in ~LineEditor()
298 void LineEditor::saveHistory() {} in saveHistory()
299 void LineEditor::loadHistory() {} in loadHistory()
300 void LineEditor::setHistorySize(int size) {} in setHistorySize()
302 std::optional<std::string> LineEditor::readLine() const { in readLine()