nixd
|
#include <Controller.h>
Public Types | |
using | OptionMapTy = std::map<std::string, std::unique_ptr<AttrSetClientProc>> |
Public Member Functions | |
Controller (std::unique_ptr< lspserver::InboundPort > In, std::unique_ptr< lspserver::OutboundPort > Out) | |
~Controller () override | |
bool | isReadyToEval () |
Public Member Functions inherited from lspserver::LSPServer | |
LSPServer (std::unique_ptr< InboundPort > In, std::unique_ptr< OutboundPort > Out) | |
void | closeInbound () |
Close the inbound port. | |
void | run () |
void | switchStreamStyle (JSONStreamStyle Style) |
Public Member Functions inherited from lspserver::MessageHandler | |
virtual | ~MessageHandler ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from lspserver::LSPServer | |
template<class T > | |
llvm::unique_function< void(const T &)> | mkOutNotifiction (llvm::StringRef Method, OutboundPort *O=nullptr) |
template<class ParamTy , class ResponseTy > | |
llvm::unique_function< void(const ParamTy &, Callback< ResponseTy >)> | mkOutMethod (llvm::StringRef Method, OutboundPort *O=nullptr) |
Protected Attributes inherited from lspserver::LSPServer | |
HandlerRegistry | Registry |
Definition at line 19 of file Controller.h.
using nixd::Controller::OptionMapTy = std::map<std::string, std::unique_ptr<AttrSetClientProc>> |
Definition at line 21 of file Controller.h.
Controller::Controller | ( | std::unique_ptr< lspserver::InboundPort > | In, |
std::unique_ptr< lspserver::OutboundPort > | Out ) |
Definition at line 68 of file Support.cpp.
References lspserver::HandlerRegistry::addMethod(), lspserver::HandlerRegistry::addNotification(), lspserver::LSPServer::mkOutMethod(), lspserver::LSPServer::mkOutNotifiction(), and lspserver::LSPServer::Registry.
|
inlineoverride |
Definition at line 236 of file Controller.h.
|
inline |
Definition at line 238 of file Controller.h.