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

Classes

struct  Doc

Public Member Functions

 EvalBuiltins (EvalMemory &mem, SymbolTable &symbols, const SearchPath &searchPath, const Path &storeDir, size_t size=128)
Valueget (const std::string &name)
std::optional< DocgetDoc (Value &v)

Public Attributes

Envenv
std::shared_ptr< StaticEnvstaticEnv
std::vector< std::pair< std::string, Constant > > constantInfos

Member Data Documentation

◆ constantInfos

std::vector<std::pair<std::string, Constant> > nix::EvalBuiltins::constantInfos

Name and documentation about every constant.

Constants from primops are hard to crawl, and their docs will go here too.

◆ env

Env& nix::EvalBuiltins::env

The base environment, containing the builtin functions and values.

◆ staticEnv

std::shared_ptr<StaticEnv> nix::EvalBuiltins::staticEnv

The same, but used during parsing to resolve variables.


The documentation for this class was generated from the following files:
  • lix/libexpr/eval.hh
  • lix/libexpr/eval.cc
  • lix/libexpr/primops.cc