2023-07-14 16:53:30 +03:00
|
|
|
#ifndef NIX_API_EXPR_INTERNAL_H
|
|
|
|
#define NIX_API_EXPR_INTERNAL_H
|
|
|
|
|
2023-08-11 12:49:10 +03:00
|
|
|
#include "eval.hh"
|
|
|
|
#include "attr-set.hh"
|
2023-07-14 16:53:30 +03:00
|
|
|
|
2024-01-10 12:58:35 +02:00
|
|
|
struct EvalState
|
2023-08-28 17:45:02 +03:00
|
|
|
{
|
|
|
|
nix::EvalState state;
|
2023-07-14 16:53:30 +03:00
|
|
|
};
|
|
|
|
|
2023-08-28 17:45:02 +03:00
|
|
|
struct BindingsBuilder
|
|
|
|
{
|
|
|
|
nix::BindingsBuilder builder;
|
2023-07-27 16:58:18 +03:00
|
|
|
};
|
|
|
|
|
2024-02-25 01:28:04 +02:00
|
|
|
struct nix_string_return
|
|
|
|
{
|
|
|
|
std::string str;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct nix_printer
|
|
|
|
{
|
|
|
|
std::ostream & s;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct nix_string_context
|
|
|
|
{
|
|
|
|
nix::NixStringContext & ctx;
|
|
|
|
};
|
|
|
|
|
2023-07-14 16:53:30 +03:00
|
|
|
#endif // NIX_API_EXPR_INTERNAL_H
|