nixd
|
Types used in nixpkgs provider. More...
#include <optional>
#include <string>
#include <vector>
#include <llvm/Support/JSON.h>
#include <lspserver/Protocol.h>
#include <nix/value.hh>
Go to the source code of this file.
Classes | |
struct | nixd::PackageDescription |
struct | nixd::ValueMeta |
General metadata of all nix::Value s. More... | |
struct | nixd::AttrPathInfoResponse |
struct | nixd::AttrPathCompleteParams |
struct | nixd::OptionType |
struct | nixd::OptionDescription |
struct | nixd::OptionField |
Namespaces | |
namespace | nixd |
namespace | nixd::rpcMethod |
Typedefs | |
using | nixd::EvalExprParams = std::string |
using | nixd::EvalExprResponse = std::optional<std::string> |
using | nixd::Selector = std::vector<std::string> |
A list of strings that "select"s into a attribute set. | |
using | nixd::PackageInfoParams = Selector |
using | nixd::OptionInfoParams = Selector |
using | nixd::AttrPathInfoParams = Selector |
using | nixd::AttrPathCompleteResponse = std::vector<std::string> |
using | nixd::OptionInfoResponse = OptionDescription |
using | nixd::OptionCompleteResponse = std::vector<OptionField> |
Functions | |
llvm::json::Value | nixd::toJSON (const PackageDescription &Params) |
bool | nixd::fromJSON (const llvm::json::Value &Params, PackageDescription &R, llvm::json::Path P) |
llvm::json::Value | nixd::toJSON (const ValueMeta &Params) |
bool | nixd::fromJSON (const llvm::json::Value &Params, ValueMeta &R, llvm::json::Path P) |
llvm::json::Value | nixd::toJSON (const AttrPathInfoResponse &Params) |
bool | nixd::fromJSON (const llvm::json::Value &Params, AttrPathInfoResponse &R, llvm::json::Path P) |
llvm::json::Value | nixd::toJSON (const AttrPathCompleteParams &Params) |
bool | nixd::fromJSON (const llvm::json::Value &Params, AttrPathCompleteParams &R, llvm::json::Path P) |
llvm::json::Value | nixd::toJSON (const OptionType &Params) |
bool | nixd::fromJSON (const llvm::json::Value &Params, OptionType &R, llvm::json::Path P) |
llvm::json::Value | nixd::toJSON (const OptionDescription &Params) |
bool | nixd::fromJSON (const llvm::json::Value &Params, OptionDescription &R, llvm::json::Path P) |
llvm::json::Value | nixd::toJSON (const OptionField &Params) |
bool | nixd::fromJSON (const llvm::json::Value &Params, OptionField &R, llvm::json::Path P) |
Variables | |
constexpr std::string_view | nixd::rpcMethod::EvalExpr = "attrset/evalExpr" |
constexpr std::string_view | nixd::rpcMethod::AttrPathInfo = "attrset/attrpathInfo" |
constexpr std::string_view | nixd::rpcMethod::AttrPathComplete = "attrset/attrpathComplete" |
constexpr std::string_view | nixd::rpcMethod::OptionInfo = "attrset/optionInfo" |
constexpr std::string_view | nixd::rpcMethod::OptionComplete = "attrset/optionComplete" |
constexpr std::string_view | nixd::rpcMethod::Exit = "exit" |
Types used in nixpkgs provider.
Definition in file AttrSet.h.