mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
20 lines
365 B
C++
20 lines
365 B
C++
#pragma once
|
|
|
|
namespace nix {
|
|
|
|
/**
|
|
* Exit status returned from the REPL.
|
|
*/
|
|
enum class ReplExitStatus {
|
|
/**
|
|
* The user exited with `:quit`. The program (e.g., if the REPL was acting
|
|
* as the debugger) should exit.
|
|
*/
|
|
QuitAll,
|
|
/**
|
|
* The user exited with `:continue`. The program should continue running.
|
|
*/
|
|
Continue,
|
|
};
|
|
|
|
}
|