Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::ExprIf Struct Reference
Inheritance diagram for nix::ExprIf:
[legend]
Collaboration diagram for nix::ExprIf:
[legend]

Public Member Functions

 ExprIf (const PosIdx &pos, std::unique_ptr< Expr > cond, std::unique_ptr< Expr > then, std::unique_ptr< Expr > else_)
 
- Public Member Functions inherited from nix::Expr
 Expr (const Expr &)=delete
 
Exproperator= (const Expr &)=delete
 
virtual JSON toJSON (const SymbolTable &symbols) const
 
virtual void bindVars (Evaluator &es, const std::shared_ptr< const StaticEnv > &env)
 
virtual void eval (EvalState &state, Env &env, Value &v)
 
virtual ValuemaybeThunk (EvalState &state, Env &env)
 
virtual void setName (Symbol name)
 
PosIdx getPos () const
 

Public Attributes

std::unique_ptr< Exprcond
 
std::unique_ptr< Exprthen
 
std::unique_ptr< Exprelse_
 
- Public Attributes inherited from nix::Expr
PosIdx pos
 

Additional Inherited Members

- Protected Member Functions inherited from nix::Expr
 Expr (Expr &&)=default
 
Exproperator= (Expr &&)=default
 
 Expr (const PosIdx pos)
 

The documentation for this struct was generated from the following file: