LLDB mainline
ScriptInterpreterNone.h
Go to the documentation of this file.
1//===-- ScriptInterpreterNone.h ---------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H
10#define LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H
11
13
14namespace lldb_private {
15
17public:
19
21
22 bool ExecuteOneLine(
23 llvm::StringRef command, CommandReturnObject *result,
24 const ExecuteScriptOptions &options = ExecuteScriptOptions()) override;
25
26 void ExecuteInterpreterLoop() override;
27
28 // Static Functions
29 static void Initialize();
30
31 static void Terminate();
32
34
35 static llvm::StringRef GetPluginNameStatic() { return "script-none"; }
36
37 static llvm::StringRef GetPluginDescriptionStatic();
38
39 // PluginInterface protocol
40 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
41};
42
43} // namespace lldb_private
44
45#endif // LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H
A class to manage flag bits.
Definition: Debugger.h:79
llvm::StringRef GetPluginName() override
bool ExecuteOneLine(llvm::StringRef command, CommandReturnObject *result, const ExecuteScriptOptions &options=ExecuteScriptOptions()) override
static llvm::StringRef GetPluginNameStatic()
static llvm::StringRef GetPluginDescriptionStatic()
static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger)
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14
std::shared_ptr< lldb_private::ScriptInterpreter > ScriptInterpreterSP
Definition: lldb-forward.h:394