10#include <llvm/Support/JSON.h>
15#pragma clang diagnostic push
16#pragma clang diagnostic ignored "-Wdocumentation"
19#include <nix/value.hh>
22#pragma clang diagnostic pop
29constexpr inline std::string_view
EvalExpr =
"attrset/evalExpr";
30constexpr inline std::string_view
AttrPathInfo =
"attrset/attrpathInfo";
32constexpr inline std::string_view
OptionInfo =
"attrset/optionInfo";
34constexpr inline std::string_view
Exit =
"exit";
50 std::optional<std::string>
Name;
51 std::optional<std::string>
PName;
107 std::optional<std::string>
Name;
119 std::optional<OptionType>
Type;
constexpr std::string_view Exit
constexpr std::string_view EvalExpr
constexpr std::string_view OptionInfo
constexpr std::string_view AttrPathInfo
constexpr std::string_view OptionComplete
constexpr std::string_view AttrPathComplete
std::string EvalExprParams
bool fromJSON(const llvm::json::Value &Params, Configuration::Diagnostic &R, llvm::json::Path P)
llvm::json::Value toJSON(const PackageDescription &Params)
std::vector< std::string > AttrPathCompleteResponse
Selector PackageInfoParams
std::vector< std::string > Selector
A list of strings that "select"s into a attribute set.
Selector AttrPathInfoParams
std::vector< OptionField > OptionCompleteResponse
Selector OptionInfoParams
std::optional< std::string > EvalExprResponse
std::string Prefix
Search for packages prefixed with this "prefix".
ValueMeta Meta
General value description.
PackageDescription PackageDesc
Package description of the attribute path, if available.
std::vector< lspserver::Location > Definitions
std::optional< std::string > Description
std::optional< std::string > Example
std::optional< OptionType > Type
std::vector< lspserver::Location > Declarations
std::optional< OptionDescription > Description
std::optional< std::string > Description
std::optional< std::string > Name
std::optional< std::string > Name
std::optional< std::string > Version
std::optional< std::string > PName
std::optional< std::string > Description
std::optional< std::string > LongDescription
std::optional< std::string > Position
std::optional< std::string > Homepage