From ca2238cf818e27ebb663c83a9fe9ae7f58eb830f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Jul 2006 15:05:15 +0000 Subject: * Refactoring: get the selection path stuff out of getDerivations() and put it into a separate function findAlongAttrPath(). --- src/libexpr/eval.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libexpr/eval.hh') diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index a3815733e004..018c6b726bd4 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -59,6 +59,11 @@ string coerceToStringWithContext(EvalState & state, ATermList & context, Expr e, bool & isPath); Expr wrapInContext(ATermList context, Expr e); +/* Automatically call a function for which each argument has a default + value. Note: result is a call, not a normal form; it should be + evaluated by calling evalExpr(). */ +Expr autoCallFunction(Expr e); + /* Print statistics. */ void printEvalStats(EvalState & state); -- cgit 1.4.1