![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <value.hh>
Public Types | |
| using | value_type = const StringData * |
| using | size_type = std::size_t |
| using | iterator = const value_type * |
Public Member Functions | |
| Context (size_type size) | |
| iterator | begin () const |
| iterator | end () const |
| size_type | size () const |
Static Public Member Functions | |
| static Context * | fromBuilder (const NixStringContext &context, EvalMemory &mem) |
The type of the context itself.
Currently, it is length-prefixed array of pointers to null-terminated strings. The strings are specially formatted to represent a flattening of the recursive sum type that is a context element.
|
static |