|
void | runNix (Path program, const Strings &args, const std::optional< std::string > &input={}) |
|
| NixRepl (const LookupPath &lookupPath, nix::ref< Store > store, ref< EvalState > state, std::function< AnnotatedValues()> getValues, RunNix *runNix) |
|
ReplExitStatus | mainLoop () override |
|
void | initEnv () override |
|
virtual StringSet | completePrefix (const std::string &prefix) override |
|
StorePath | getDerivationPath (Value &v) |
|
ProcessLineResult | processLine (std::string line) |
|
void | loadFile (const Path &path) |
|
void | loadFlake (const std::string &flakeRef) |
|
void | loadFiles () |
|
void | reloadFiles () |
|
void | addAttrsToScope (Value &attrs) |
|
void | addVarToScope (const Symbol name, Value &v) |
|
Expr * | parseString (std::string s) |
|
void | evalString (std::string s, Value &v) |
|
void | loadDebugTraceEnv (DebugTrace &dt) |
|
void | printValue (std::ostream &str, Value &v, unsigned int maxDepth=std::numeric_limits< unsigned int >::max()) |
|
| AbstractNixRepl (ref< EvalState > state) |
|
|
static const int | envSize = 32768 |
|
|
typedef std::vector< std::pair< Value *, std::string > > | AnnotatedValues |
|
using | RunNix = void(Path program, const Strings & args, const std::optional<std::string> & input) |
|
static std::unique_ptr< AbstractNixRepl > | create (const LookupPath &lookupPath, nix::ref< Store > store, ref< EvalState > state, std::function< AnnotatedValues()> getValues, RunNix *runNix=nullptr) |
|
static ReplExitStatus | runSimple (ref< EvalState > evalState, const ValMap &extraEnv) |
|
◆ completePrefix()
StringSet nix::NixRepl::completePrefix |
( |
const std::string & | prefix | ) |
|
|
overridevirtual |
◆ initEnv()
void nix::NixRepl::initEnv |
( |
| ) |
|
|
overridevirtual |
◆ mainLoop()
ReplExitStatus nix::NixRepl::mainLoop |
( |
| ) |
|
|
overridevirtual |
The documentation for this struct was generated from the following file:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libcmd/repl.cc