11#include <nix/nixexpr.hh>
20 std::unique_ptr<nix::EvalState> State;
22 llvm::unique_function<void(
int)> Ready;
26 std::unique_ptr<lspserver::OutboundPort> Out);
Pointer pool, for RAII memory management.
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 >)
llvm::unique_function< void(llvm::Expected< T >)> Callback
std::map< std::uintptr_t, nix::Env * > EnvMap
std::map< std::uintptr_t, nix::Value > ValueMap
A simple pointer pool, a vector of unique_ptrs.