nixd
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
nixd::EvalClient Class Reference

#include <EvalClient.h>

Inheritance diagram for nixd::EvalClient:
[legend]
Collaboration diagram for nixd::EvalClient:
[legend]

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 Attributes inherited from lspserver::LSPServer
HandlerRegistry Registry
 
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)
 

Detailed Description

Definition at line 14 of file EvalClient.h.

Constructor & Destructor Documentation

◆ EvalClient()

nixd::EvalClient::EvalClient ( std::unique_ptr< lspserver::InboundPort > In,
std::unique_ptr< lspserver::OutboundPort > Out )

Member Function Documentation

◆ onReady()

void nixd::EvalClient::onReady ( const int & Flags)
inline

Definition at line 26 of file EvalClient.h.

References lspserver::log().

◆ ready()

bool nixd::EvalClient::ready ( )
inline

Definition at line 33 of file EvalClient.h.

Member Data Documentation

◆ ExprValue

llvm::unique_function<void(const rpc::ExprValueParams &, lspserver::Callback<rpc::ExprValueResponse>) nixd::EvalClient::ExprValue)

Definition at line 21 of file EvalClient.h.

◆ RegisterBC

llvm::unique_function<void(const rpc::RegisterBCParams &) nixd::EvalClient::RegisterBC)

Definition at line 18 of file EvalClient.h.


The documentation for this class was generated from the following file: