Lines Matching refs:LineEditor
24 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath()
33 LineEditor::CompleterConcept::~CompleterConcept() {} in ~CompleterConcept()
34 LineEditor::ListCompleterConcept::~ListCompleterConcept() {} in ~ListCompleterConcept()
36 std::string LineEditor::ListCompleterConcept::getCommonPrefix( in getCommonPrefix()
55 LineEditor::CompletionAction
56 LineEditor::ListCompleterConcept::complete(StringRef Buffer, size_t Pos) const { in complete()
84 LineEditor::CompletionAction LineEditor::getCompletionAction(StringRef Buffer, in getCompletionAction()
99 struct LineEditor::InternalData {
100 LineEditor *LE;
114 LineEditor::InternalData *Data; in ElGetPromptFn()
125 LineEditor::InternalData *Data; in ElCompletionFn()
146 LineEditor::CompletionAction Action = Data->LE->getCompletionAction( in ElCompletionFn()
150 case LineEditor::CompletionAction::AK_Insert: in ElCompletionFn()
154 case LineEditor::CompletionAction::AK_ShowCompletions: in ElCompletionFn()
199 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
235 LineEditor::~LineEditor() { in ~LineEditor()
243 void LineEditor::saveHistory() { in saveHistory()
250 void LineEditor::loadHistory() { in loadHistory()
257 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()
301 Optional<std::string> LineEditor::readLine() const { in readLine()