nixd
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
ParentMap.h File Reference

Construct child -> parent relations of nix::Expr nodes. More...

#include "Visitor.h"

Go to the source code of this file.

Namespaces

namespace  nixt
 Access EvalCache in nix::EvalState.
 

Typedefs

using nixt::ParentMap = std::map<const nix::Expr *, const nix::Expr *>
 The parent map. The key is "child", the value is "parent".
 

Functions

ParentMap nixt::parentMap (const nix::Expr *Root)
 Construct child -> parent relations of nix::Expr nodes.
 

Detailed Description

Construct child -> parent relations of nix::Expr nodes.

Definition in file libnixt/include/nixt/ParentMap.h.