nixd
Loading...
Searching...
No Matches
libnixt
lib
HookExpr.cpp
Go to the documentation of this file.
1
#include "
nixt/HookExpr.h
"
2
3
namespace
nixt
{
4
5
#define NIX_EXPR(EXPR) \
6
void Hook##EXPR::eval(nix::EvalState &State, nix::Env &Env, nix::Value &V) { \
7
nix::EXPR::eval(State, Env, V); \
8
VMap[Handle] = V; \
9
EMap[Handle] = &Env; \
10
}
11
#include "
nixt/Nodes.inc
"
12
#undef NIX_EXPR
13
14
}
// namespace nixt
HookExpr.h
Nodes.inc
Nix expressions declaration.
nixt
Access EvalCache in nix::EvalState.
Definition
ArrayRef.h:7
Generated by
1.12.0