(cherry picked from commit 2a8fe9a93837733e9dd9ed5c078734a35b203e14) Change-Id: I71dadfef6b24d9272b206e9e2c408040559d8a1c
21 lines
365 B
C++
21 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,
|
|
};
|
|
|
|
}
|