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

#include <EvalProvider.h>

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

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 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 15 of file EvalProvider.h.

Constructor & Destructor Documentation

◆ EvalProvider()

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

Member Function Documentation

◆ onExprValue()

void nixd::EvalProvider::onExprValue ( const rpc::ExprValueParams & Params,
lspserver::Callback< rpc::ExprValueResponse >  )

◆ onRegisterBC()

void nixd::EvalProvider::onRegisterBC ( const rpc::RegisterBCParams & Params)

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