Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::BindingsBuilder Class Reference

#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)
Valuealloc (Symbol name, PosIdx pos=noPos)
Valuealloc (std::string_view name, PosIdx pos=noPos)
Bindingsfinish ()
BindingsalreadySorted ()

Detailed Description

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.


The documentation for this class was generated from the following files: