24#include <nix/expr/eval.hh> 
   33  std::unique_ptr<nix::EvalState> State;
 
   38  nix::EvalState &state() {
 
   39    assert(State && 
"State should be allocated by ctor!");
 
   45                  std::unique_ptr<lspserver::OutboundPort> Out);
 
 
Types used in nixpkgs provider.
 
void onOptionInfo(const AttrPathInfoParams &AttrPath, lspserver::Callback< OptionInfoResponse > Reply)
Provide option information on given attrpath.
 
void onAttrPathInfo(const AttrPathInfoParams &AttrPath, lspserver::Callback< AttrPathInfoResponse > Reply)
Query attrpath information.
 
void onEvalExpr(const EvalExprParams &Name, lspserver::Callback< EvalExprResponse > Reply)
Eval an expression, use it for furthur requests.
 
AttrSetProvider(std::unique_ptr< lspserver::InboundPort > In, std::unique_ptr< lspserver::OutboundPort > Out)
 
void onAttrPathComplete(const AttrPathCompleteParams &Params, lspserver::Callback< AttrPathCompleteResponse > Reply)
Complete attrpath entries.
 
void onOptionComplete(const AttrPathCompleteParams &Params, lspserver::Callback< OptionCompleteResponse > Reply)
Complete attrpath entries. However dive into submodules while selecting.
 
llvm::unique_function< void(llvm::Expected< T >)> Callback
 
std::string EvalExprParams
 
Selector AttrPathInfoParams