Lines Matching refs:LineEditor
23 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath()
32 LineEditor::CompleterConcept::~CompleterConcept() = default;
33 LineEditor::ListCompleterConcept::~ListCompleterConcept() = default;
35 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()
197 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
233 LineEditor::~LineEditor() { in ~LineEditor()
241 void LineEditor::saveHistory() { in saveHistory()
248 void LineEditor::loadHistory() { in loadHistory()
255 Optional<std::string> LineEditor::readLine() const { in readLine()
280 struct LineEditor::InternalData {
285 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
292 LineEditor::~LineEditor() { in ~LineEditor()
296 void LineEditor::saveHistory() {} in saveHistory()
297 void LineEditor::loadHistory() {} in loadHistory()
299 Optional<std::string> LineEditor::readLine() const { in readLine()