|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <eval-cache.hh>
Public Member Functions | |
| ref< EvalCache > | getCacheFor (Hash hash, RootLoader rootLoader) |
| Evaluator (AsyncIoRoot &aio, const SearchPath &_searchPath, ref< Store > store, std::shared_ptr< Store > buildStore=nullptr, std::function< ReplExitStatus(EvalState &es, ValMap const &extraEnv)> debugRepl=nullptr) | |
| Evaluator (const Evaluator &)=delete | |
| Evaluator (Evaluator &&)=delete | |
| Public Member Functions inherited from nix::Evaluator | |
| Evaluator (AsyncIoRoot &aio, const SearchPath &_searchPath, ref< Store > store, std::shared_ptr< Store > buildStore=nullptr, std::function< ReplExitStatus(EvalState &es, ValMap const &extraEnv)> debugRepl=nullptr) | |
| Evaluator (const Evaluator &)=delete | |
| Evaluator (Evaluator &&)=delete | |
| Evaluator & | operator= (const Evaluator &)=delete |
| Evaluator & | operator= (Evaluator &&)=delete |
| Expr & | parseExprFromFile (const CheckedSourcePath &path) |
| Expr & | parseExprFromFile (const CheckedSourcePath &path, std::shared_ptr< StaticEnv > &staticEnv) |
| Expr & | parseExprFromString (std::string s, const SourcePath &basePath, std::shared_ptr< StaticEnv > &staticEnv, const FeatureSettings &xpSettings=featureSettings) |
| Expr & | parseExprFromString (std::string s, const SourcePath &basePath, const FeatureSettings &xpSettings=featureSettings) |
| std::variant< std::unique_ptr< Expr >, ExprReplBindings > | parseReplInput (std::string s, const SourcePath &basePath, std::shared_ptr< StaticEnv > &staticEnv, const FeatureSettings &xpSettings=featureSettings) |
| Expr & | parseStdin () |
| void | evalLazily (Expr &e, Value &v) |
| BindingsBuilder | buildBindings (size_t capacity) |
| void | maybePrintStats () |
| void | printStatistics () |
| bool | fullGC () |
| box_ptr< EvalState > | begin (AsyncIoRoot &aio) |
Additional Inherited Members | |
| Public Attributes inherited from nix::Evaluator | |
| SymbolTable | symbols |
| PosTable | positions |
| const StaticSymbols | s |
| EvalMemory | mem |
| EvalRuntimeCaches | caches |
| EvalPaths | paths |
| EvalBuiltins | builtins |
| EvalStatistics | stats |
| RepairFlag | repair |
| const ref< Store > | store |
| ref< Store > | buildStore |
| std::unique_ptr< DebugState > | debug |
| EvalErrorContext | errors |
EvalState with caching support. Historically this was part of EvalState, but it was split out to make maintenance easier. This could've been just a pair of EvalState and the cache map, but doing so would currently hide the rather strong connection between EvalState and these caches. At some future time the cache interface should be changed to hide its EvalState.