nixd
|
#include <EvalClient.h>
Public Member Functions | |
EvalClient (std::unique_ptr< lspserver::InboundPort > In, std::unique_ptr< lspserver::OutboundPort > Out) | |
void | onReady (const int &Flags) |
bool | ready () |
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 |
Public Attributes | |
llvm::unique_function< void(const rpc::RegisterBCParams &)> | RegisterBC |
llvm::unique_function< void(const rpc::ExprValueParams &, lspserver::Callback< rpc::ExprValueResponse >)> | ExprValue |
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 14 of file EvalClient.h.
nixd::EvalClient::EvalClient | ( | std::unique_ptr< lspserver::InboundPort > | In, |
std::unique_ptr< lspserver::OutboundPort > | Out ) |
|
inline |
Definition at line 26 of file EvalClient.h.
References lspserver::log().
|
inline |
Definition at line 33 of file EvalClient.h.
llvm::unique_function<void(const rpc::ExprValueParams &, lspserver::Callback<rpc::ExprValueResponse>)> nixd::EvalClient::ExprValue |
Definition at line 21 of file EvalClient.h.
llvm::unique_function<void(const rpc::RegisterBCParams &)> nixd::EvalClient::RegisterBC |
Definition at line 18 of file EvalClient.h.