aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/repl-exit-status.hh
blob: 08299ff61ae444ffc7ff58f7d838149405e8c054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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,
};

}