mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
* Remove more obsolete code.
This commit is contained in:
parent
011b5da0f4
commit
816dd3f061
5 changed files with 2 additions and 503 deletions
|
@ -207,17 +207,6 @@ struct ExprConcatStrings : Expr
|
|||
|
||||
|
||||
#if 0
|
||||
/* Generic bottomup traversal over ATerms. The traversal first
|
||||
recursively descends into subterms, and then applies the given term
|
||||
function to the resulting term. */
|
||||
struct TermFun
|
||||
{
|
||||
virtual ~TermFun() { }
|
||||
virtual ATerm operator () (ATerm e) = 0;
|
||||
};
|
||||
ATerm bottomupRewrite(TermFun & f, ATerm e);
|
||||
|
||||
|
||||
/* Check whether all variables are defined in the given expression.
|
||||
Throw an exception if this isn't the case. */
|
||||
void checkVarDefs(const ATermMap & def, Expr e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue