nixd
Loading...
Searching...
No Matches
HookExpr.cpp
Go to the documentation of this file.
1#include "nixt/HookExpr.h"
2
3namespace 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
Access EvalCache in nix::EvalState.
Definition ArrayRef.h:7