mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41:15 +02:00
* Verify that all variables in a Nix expression are defined.
This commit is contained in:
parent
1c9c0a5a46
commit
c4f7ae4aa5
4 changed files with 92 additions and 21 deletions
|
@ -68,6 +68,10 @@ Expr makeAttrs(const ATermMap & attrs);
|
|||
/* Perform a set of substitutions on an expression. */
|
||||
Expr substitute(const ATermMap & subs, Expr 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);
|
||||
|
||||
/* Create an expression representing a boolean. */
|
||||
Expr makeBool(bool b);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue