Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
AttrDef Struct Reference

Public Types

enum  Kind { Plain , Inherited , InheritedFrom }
 

Public Member Functions

 AttrDef (Expr *e, const PosIdx &pos, Kind kind=Kind::Plain)
 
const T & chooseByKind (const T &plain, const T &inherited, const T &inheritedFrom) const
 

Public Attributes

Kind kind
 
Expre
 
PosIdx pos
 
Displacement displ = 0
 

Member Enumeration Documentation

◆ Kind

enum 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: