Value: extract Value::Path

This commit is contained in:
Robert Hensing 2023-11-12 03:03:37 +01:00
parent 2eb59c34b5
commit d8ff5cfe8e

View file

@ -185,6 +185,11 @@ public:
const char * * context; // must be in sorted order const char * * context; // must be in sorted order
}; };
struct Path {
InputAccessor * accessor;
const char * path;
};
union union
{ {
NixInt integer; NixInt integer;
@ -192,10 +197,7 @@ public:
StringWithContext string; StringWithContext string;
struct { Path _path;
InputAccessor * accessor;
const char * path;
} _path;
Bindings * attrs; Bindings * attrs;
struct { struct {