aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/repl-exit-status.hh
blob: f150b959720babfd7e6b25a6f396061853971b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
///@file

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,
};

}