Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::ExprAttrs::AttrDef Struct Reference

Public Types

enum class  Kind { Plain , Inherited , InheritedFrom }

Public Member Functions

 AttrDef (std::unique_ptr< Expr > e, const PosIdx &pos, Kind kind=Kind::Plain)
template<typename T>
chooseByKind (const T &plain, const T &inherited, const T &inheritedFrom) const

Public Attributes

Kind kind
std::unique_ptr< Expre
PosIdx pos
Displacement displ

Member Enumeration Documentation

◆ Kind

enum class nix::ExprAttrs::AttrDef::Kind
strong
Enumerator
Plain 

attr = expr;

Inherited 

inherit attr1 attrn;

InheritedFrom 

inherit (expr) attr1 attrn;


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