2024-03-08 08:19:15 +00:00
|
|
|
#pragma once
|
2024-04-08 22:07:57 +00:00
|
|
|
///@file
|
2024-03-08 08:19:15 +00:00
|
|
|
|
|
|
|
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,
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|