Lines Matching refs:LineEditor
23 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath()
32 LineEditor::CompleterConcept::~CompleterConcept() {} in ~CompleterConcept()
33 LineEditor::ListCompleterConcept::~ListCompleterConcept() {} in ~ListCompleterConcept()
35 std::string LineEditor::ListCompleterConcept::getCommonPrefix( in getCommonPrefix()
54 LineEditor::CompletionAction
55 LineEditor::ListCompleterConcept::complete(StringRef Buffer, size_t Pos) const { in complete()
83 LineEditor::CompletionAction LineEditor::getCompletionAction(StringRef Buffer, in getCompletionAction()
98 struct LineEditor::InternalData {
99 LineEditor *LE;
113 LineEditor::InternalData *Data; in ElGetPromptFn()
124 LineEditor::InternalData *Data; in ElCompletionFn()
145 LineEditor::CompletionAction Action = Data->LE->getCompletionAction( in ElCompletionFn()
149 case LineEditor::CompletionAction::AK_Insert: in ElCompletionFn()
153 case LineEditor::CompletionAction::AK_ShowCompletions: in ElCompletionFn()
198 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
234 LineEditor::~LineEditor() { in ~LineEditor()
242 void LineEditor::saveHistory() { in saveHistory()
249 void LineEditor::loadHistory() { in loadHistory()
256 Optional<std::string> LineEditor::readLine() const { in readLine()
281 struct LineEditor::InternalData {
286 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
293 LineEditor::~LineEditor() { in ~LineEditor()
297 void LineEditor::saveHistory() {} in saveHistory()
298 void LineEditor::loadHistory() {} in loadHistory()
300 Optional<std::string> LineEditor::readLine() const { in readLine()