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

Public Member Functions

 ExprVar (Symbol name)
 
 ExprVar (const PosIdx &pos, Symbol name, bool needsRoot=false)
 
ValuemaybeThunk (EvalState &state, Env &env) override
 
- 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 void setName (Symbol name)
 
PosIdx getPos () const
 

Public Attributes

Symbol name
 
ExprWithfromWith
 
Level level
 
Displacement displ
 
bool needsRoot
 
- 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)
 

Member Function Documentation

◆ maybeThunk()

Value * nix::ExprVar::maybeThunk ( EvalState & state,
Env & env )
overridevirtual

Reimplemented from nix::Expr.


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