|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <attr-set.hh>
Public Types | |
| using | Size = uint32_t |
| typedef Attr * | iterator |
Public Member Functions | |
| Size | size () const |
| bool | empty () const |
| void | push_back (const Attr &attr) |
| iterator | find (Symbol name) |
| Attr * | get (Symbol name) |
| iterator | begin () |
| iterator | end () |
| Attr & | operator[] (Size pos) |
| void | sort () |
| Size | capacity () |
| std::vector< const Attr * > | lexicographicOrder (const SymbolTable &symbols) const |
Public Attributes | |
| PosIdx | pos |
Static Public Attributes | |
| static Bindings | EMPTY {0} |
Friends | |
| class | EvalMemory |
Bindings contains all the attributes of an attribute set. It is defined by its size and its capacity, the capacity being the number of Attr elements allocated after this structure, while the size corresponds to the number of elements already inserted in this structure.
|
inline |
Returns the attributes in lexicographically sorted order.