mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 20:46:01 +01:00
* Refactoring: move strictEval to libexpr.
This commit is contained in:
parent
f41297fdce
commit
943ab38a0d
3 changed files with 48 additions and 44 deletions
|
|
@ -47,6 +47,10 @@ Expr evalExpr(EvalState & state, Expr e);
|
|||
/* Evaluate an expression read from the given file to normal form. */
|
||||
Expr evalFile(EvalState & state, const Path & path);
|
||||
|
||||
/* Evaluate an expression, and recursively evaluate list elements and
|
||||
attributes. */
|
||||
Expr strictEvalExpr(EvalState & state, Expr e);
|
||||
|
||||
/* Specific results. */
|
||||
string evalString(EvalState & state, Expr e);
|
||||
Path evalPath(EvalState & state, Expr e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue