Lines Matching refs:LineEditor
22 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath()
31 LineEditor::CompleterConcept::~CompleterConcept() {} in ~CompleterConcept()
32 LineEditor::ListCompleterConcept::~ListCompleterConcept() {} in ~ListCompleterConcept()
34 std::string LineEditor::ListCompleterConcept::getCommonPrefix( in getCommonPrefix()
53 LineEditor::CompletionAction
54 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;
110 LineEditor::InternalData *Data; in ElGetPromptFn()
121 LineEditor::InternalData *Data; in ElCompletionFn()
142 LineEditor::CompletionAction Action = Data->LE->getCompletionAction( in ElCompletionFn()
146 case LineEditor::CompletionAction::AK_Insert: in ElCompletionFn()
150 case LineEditor::CompletionAction::AK_ShowCompletions: in ElCompletionFn()
193 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
229 LineEditor::~LineEditor() { in ~LineEditor()
237 void LineEditor::saveHistory() { in saveHistory()
244 void LineEditor::loadHistory() { in loadHistory()
251 Optional<std::string> LineEditor::readLine() const { in readLine()
276 struct LineEditor::InternalData {
281 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() function in LineEditor
288 LineEditor::~LineEditor() { in ~LineEditor()
292 void LineEditor::saveHistory() {} in saveHistory()
293 void LineEditor::loadHistory() {} in loadHistory()
295 Optional<std::string> LineEditor::readLine() const { in readLine()