|
std::optional< nix::Value > | nixt::getField (nix::EvalState &State, nix::Value &V, std::string_view Field) |
|
std::optional< std::string_view > | nixt::getFieldString (nix::EvalState &State, nix::Value &V, std::string_view Field) |
|
bool | nixt::checkField (nix::EvalState &State, nix::Value &V, std::string_view Field, std::string_view Pred) |
| Check if value V is an attrset, has the field, and equals to Pred .
|
|
bool | nixt::checkType (nix::EvalState &State, nix::Value &V, std::string_view Pred) |
| Check if value is an attrset, and it's "_type" equals to Pred .
|
|
bool | nixt::isOption (nix::EvalState &State, nix::Value &V) |
|
bool | nixt::isDerivation (nix::EvalState &State, nix::Value &V) |
|
std::string | nixt::attrPathStr (nix::EvalState &State, nix::Value &V, const std::string &AttrPath) |
|
std::vector< nix::Symbol > | nixt::toSymbols (nix::SymbolTable &STable, const std::vector< std::string > &Names) |
| Transform a vector of string into a vector of nix symbols.
|
|
std::vector< nix::Symbol > | nixt::toSymbols (nix::SymbolTable &STable, const std::vector< std::string_view > &Names) |
| Transform a vector of string into a vector of nix symbols.
|
|
nix::Value & | nixt::selectAttr (nix::EvalState &State, nix::Value &V, nix::Symbol Attr) |
| Select attribute Attr .
|
|
nix::Value & | nixt::selectOption (nix::EvalState &State, nix::Value &V, nix::Symbol Attr) |
|
nix::Value & | nixt::selectAttrPath (nix::EvalState &State, nix::Value &V, std::vector< nix::Symbol >::const_iterator Begin, std::vector< nix::Symbol >::const_iterator End) |
| Given an attrpath in nix::Value V , select it.
|
|
nix::Value | nixt::selectOptions (nix::EvalState &State, nix::Value &V, std::vector< nix::Symbol >::const_iterator Begin, std::vector< nix::Symbol >::const_iterator End) |
| Select the option declaration list, V , dive into "submodules".
|
|
nix::Value | nixt::selectOptions (nix::EvalState &State, nix::Value &V, const std::vector< nix::Symbol > &AttrPath) |
|
nix::Value & | nixt::selectSymbols (nix::EvalState &State, nix::Value &V, const std::vector< nix::Symbol > &AttrPath) |
| Given an attrpath in nix::Value V , select it.
|
|
nix::Value & | nixt::selectStrings (nix::EvalState &State, nix::Value &V, const std::vector< std::string > &AttrPath) |
| Given an attrpath in nix::Value V , select it.
|
|
nix::Value & | nixt::selectStringViews (nix::EvalState &State, nix::Value &V, const std::vector< std::string_view > &AttrPath) |
| Given an attrpath in nix::Value V , select it.
|
|