blob: 709b244cddf85b533a21cdd2e702646ad826be65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// file : bdep/ci-parsers.hxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
// CLI parsers, included into the generated source files.
//
#ifndef BDEP_CI_PARSERS_HXX
#define BDEP_CI_PARSERS_HXX
#include <bdep/ci-types.hxx>
namespace bdep
{
namespace cli
{
class scanner;
template <typename T>
struct parser;
// Accumulate package manifest override values from all the override-
// related options (--override, --overrides-file, etc), preserving their
// order. Translate each option into one or more values according to the
// option-specific semantics.
//
template <>
struct parser<cmd_ci_override>
{
static void
parse (cmd_ci_override&, bool&, scanner&);
static void
merge (cmd_ci_override&, const cmd_ci_override&);
};
}
}
#endif // BDEP_CI_PARSERS_HXX
|