nixd
|
Describe how to traverse upon nix::Expr * nodes. More...
#include <nix/nixexpr.hh>
#include <nix/symbol-table.hh>
#include "Nodes.inc"
#include "Traverse.inc"
Go to the source code of this file.
Classes | |
struct | nixt::RecursiveASTVisitor< Derived > |
A CRTP base class for traversing nix::Expr * nodes. More... | |
Namespaces | |
namespace | nixt |
Access EvalCache in nix::EvalState . | |
Macros | |
#define | NIX_EXPR(EXPR) bool traverse##EXPR(const nix::EXPR *E); |
#define | NIX_EXPR(EXPR) bool visit##EXPR(const nix::EXPR *E) { return getDerived().visitExpr(E); } |
#define | NIX_EXPR(EXPR) |
#define | TRY_TO(CALL_EXPR) |
#define | TRY_TO_TRAVERSE(EXPR) TRY_TO(traverseExpr(EXPR)) |
#define | DEF_TRAVERSE_TYPE(TYPE, CODE) |
Describe how to traverse upon nix::Expr * nodes.
This file contains a CRTP base class for traversing nix::Expr * nodes.
Definition in file Visitor.h.
#define DEF_TRAVERSE_TYPE | ( | TYPE, | |
CODE ) |
#define NIX_EXPR | ( | EXPR | ) |
#define TRY_TO | ( | CALL_EXPR | ) |