nixd
|
#include <EvalProvider.h>
Public Member Functions | |
EvalProvider (std::unique_ptr< lspserver::InboundPort > In, std::unique_ptr< lspserver::OutboundPort > Out) | |
void | onRegisterBC (const rpc::RegisterBCParams &Params) |
void | onExprValue (const rpc::ExprValueParams &Params, lspserver::Callback< rpc::ExprValueResponse >) |
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 15 of file EvalProvider.h.
nixd::EvalProvider::EvalProvider | ( | std::unique_ptr< lspserver::InboundPort > | In, |
std::unique_ptr< lspserver::OutboundPort > | Out ) |
void nixd::EvalProvider::onExprValue | ( | const rpc::ExprValueParams & | Params, |
lspserver::Callback< rpc::ExprValueResponse > | ) |
void nixd::EvalProvider::onRegisterBC | ( | const rpc::RegisterBCParams & | Params | ) |