mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
Style tweaks
This commit is contained in:
parent
ba035f7dd0
commit
91b7d5373a
9 changed files with 165 additions and 370 deletions
|
@ -48,7 +48,7 @@ struct NixRepl
|
|||
#endif
|
||||
{
|
||||
std::string curDir;
|
||||
EvalState &state;
|
||||
EvalState & state;
|
||||
Bindings * autoArgs;
|
||||
|
||||
size_t debugTraceIndex;
|
||||
|
@ -63,11 +63,11 @@ struct NixRepl
|
|||
|
||||
const Path historyFile;
|
||||
|
||||
NixRepl(EvalState &state);
|
||||
NixRepl(EvalState & state);
|
||||
~NixRepl();
|
||||
void mainLoop(const std::vector<std::string> & files);
|
||||
StringSet completePrefix(const std::string & prefix);
|
||||
bool getLine(std::string & input, const std::string &prompt);
|
||||
bool getLine(std::string & input, const std::string & prompt);
|
||||
StorePath getDerivationPath(Value & v);
|
||||
bool processLine(std::string line);
|
||||
void loadFile(const Path & path);
|
||||
|
@ -96,7 +96,7 @@ std::string removeWhitespace(std::string s)
|
|||
}
|
||||
|
||||
|
||||
NixRepl::NixRepl(EvalState &state)
|
||||
NixRepl::NixRepl(EvalState & state)
|
||||
: state(state)
|
||||
, debugTraceIndex(0)
|
||||
, staticEnv(new StaticEnv(false, state.staticBaseEnv.get()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue