LLDB mainline
Classes | Namespaces | Typedefs | Enumerations
Editline.h File Reference
#include "lldb/Host/Config.h"
#include <locale>
#include <sstream>
#include <vector>
#include "lldb/lldb-private.h"
#include <histedit.h>
#include <csignal>
#include <mutex>
#include <optional>
#include <string>
#include "lldb/Host/ConnectionFileDescriptor.h"
#include "lldb/Utility/CompletionRequest.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Predicate.h"
#include "lldb/Utility/StringList.h"
#include "llvm/ADT/FunctionExtras.h"

Go to the source code of this file.

Classes

class  lldb_private::Editline
 Instances of Editline provide an abstraction over libedit's EditLine facility. More...
 

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.
 
namespace  lldb_private::line_editor
 

Typedefs

using lldb_private::line_editor::EditLineStringType = std::string
 
using lldb_private::line_editor::EditLineStringStreamType = std::stringstream
 
using lldb_private::line_editor::EditLineCharType = char
 
using lldb_private::line_editor::EditLineGetCharType = char
 
using lldb_private::line_editor::EditlineGetCharCallbackType = int(*)(::EditLine *editline, EditLineGetCharType *c)
 
using lldb_private::line_editor::EditlineCommandCallbackType = unsigned char(*)(::EditLine *editline, int ch)
 
using lldb_private::line_editor::EditlinePromptCallbackType = const char *(*)(::EditLine *editline)
 
using lldb_private::line_editor::EditlineHistorySP = std::shared_ptr< EditlineHistory >
 
using lldb_private::line_editor::IsInputCompleteCallbackType = llvm::unique_function< bool(Editline *, StringList &)>
 
using lldb_private::line_editor::FixIndentationCallbackType = llvm::unique_function< int(Editline *, StringList &, int)>
 
using lldb_private::line_editor::SuggestionCallbackType = llvm::unique_function< std::optional< std::string >(llvm::StringRef)>
 
using lldb_private::line_editor::CompleteCallbackType = llvm::unique_function< void(CompletionRequest &)>
 

Enumerations

enum class  lldb_private::line_editor::EditorStatus { lldb_private::line_editor::Editing , lldb_private::line_editor::Complete , lldb_private::line_editor::EndOfInput , lldb_private::line_editor::Interrupted }
 Status used to decide when and how to start editing another line in multi-line sessions. More...
 
enum class  lldb_private::line_editor::CursorLocation { lldb_private::line_editor::BlockStart , lldb_private::line_editor::EditingPrompt , lldb_private::line_editor::EditingCursor , lldb_private::line_editor::BlockEnd }
 Established locations that can be easily moved among with MoveCursor. More...
 
enum class  lldb_private::line_editor::HistoryOperation {
  lldb_private::line_editor::Oldest , lldb_private::line_editor::Older , lldb_private::line_editor::Current , lldb_private::line_editor::Newer ,
  lldb_private::line_editor::Newest
}
 Operation for the history. More...