|
|
static std::unique_ptr< Expr > | finalize (std::unique_ptr< Expr > parsed, Evaluator &es, const std::shared_ptr< const StaticEnv > &env) |
|
| Expr (Expr &&)=default |
|
Expr & | operator= (Expr &&)=default |
|
| Expr (const PosIdx pos) |
◆ accept()
| void nix::ExprLambda::accept |
( |
ExprVisitor & | ev, |
|
|
std::unique_ptr< Expr > & | ptr ) |
|
inlineoverridevirtual |
◆ eval()
◆ getName()
| std::string nix::ExprLambda::getName |
( |
SymbolTable const & | symbols | ) |
const |
|
inline |
Returns the name of the lambda, or "anonymous lambda" if it doesn't have one.
◆ getQuotedName()
| std::string nix::ExprLambda::getQuotedName |
( |
SymbolTable const & | symbols | ) |
const |
|
inline |
Returns the name of the lambda in single quotes, or "anonymous lambda" if it doesn't have one.
◆ setName()
| void nix::ExprLambda::setName |
( |
Symbol | name | ) |
|
|
overridevirtual |
◆ toJSON()
| JSON nix::ExprLambda::toJSON |
( |
const SymbolTable & | symbols | ) |
const |
|
overridevirtual |
◆ name
Name of the lambda. This is set if the lambda is defined in a let-expression or an attribute set, such that there is a name. Lambdas may have a falsey symbol as the name if they are anonymous
The documentation for this struct was generated from the following files:
- lix/libexpr/nixexpr.hh
- lix/libexpr/eval.cc
- lix/libexpr/nixexpr.cc