Path: blob/main/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h
39644 views
//===-- ScriptInterpreterNone.h ---------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H9#define LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H1011#include "lldb/Interpreter/ScriptInterpreter.h"1213namespace lldb_private {1415class ScriptInterpreterNone : public ScriptInterpreter {16public:17ScriptInterpreterNone(Debugger &debugger);1819~ScriptInterpreterNone() override;2021bool ExecuteOneLine(22llvm::StringRef command, CommandReturnObject *result,23const ExecuteScriptOptions &options = ExecuteScriptOptions()) override;2425void ExecuteInterpreterLoop() override;2627// Static Functions28static void Initialize();2930static void Terminate();3132static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger);3334static llvm::StringRef GetPluginNameStatic() { return "script-none"; }3536static llvm::StringRef GetPluginDescriptionStatic();3738// PluginInterface protocol39llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }40};4142} // namespace lldb_private4344#endif // LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_NONE_SCRIPTINTERPRETERNONE_H454647