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 () |
![]() | |
LSPServer (std::unique_ptr< InboundPort > In, std::unique_ptr< OutboundPort > Out) | |
void | closeInbound () |
Close the inbound port. | |
void | run () |
void | switchStreamStyle (JSONStreamStyle Style) |
![]() | |
virtual | ~MessageHandler ()=default |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
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::LSPServer::LSPServer(), 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.