LLDB mainline
Editline.h File Reference
#include "lldb/Host/Config.h"
#include <locale>
#include <sstream>
#include <vector>
#include "lldb/Host/StreamFile.h"
#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
using lldb_private::line_editor::EditlineCommandCallbackType
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
using lldb_private::line_editor::FixIndentationCallbackType
using lldb_private::line_editor::SuggestionCallbackType
using lldb_private::line_editor::CompleteCallbackType = llvm::unique_function<void(CompletionRequest &)>
using lldb_private::line_editor::RedrawCallbackType = llvm::unique_function<void()>

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...