|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <attr-set.hh>
Public Types | |
| using | value_type = Attr |
Public Member Functions | |
| BindingsBuilder (EvalMemory &mem, SymbolTable &symbols, Bindings *bindings) | |
| void | insert (Symbol name, Value *value, PosIdx pos=noPos) |
| void | insert (const Attr &attr) |
| void | push_back (const Attr &attr) |
| Value & | alloc (Symbol name, PosIdx pos=noPos) |
| Value & | alloc (std::string_view name, PosIdx pos=noPos) |
| Bindings * | finish () |
| Bindings * | alreadySorted () |
A wrapper around Bindings that ensures that its always in sorted order at the end. The only way to consume a BindingsBuilder is to call finish(), which sorts the bindings.