diff options
Diffstat (limited to 'bdep/ci-parsers.hxx')
-rw-r--r-- | bdep/ci-parsers.hxx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/bdep/ci-parsers.hxx b/bdep/ci-parsers.hxx new file mode 100644 index 0000000..5a8f664 --- /dev/null +++ b/bdep/ci-parsers.hxx @@ -0,0 +1,36 @@ +// file : bdep/ci-parsers.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd +// 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<ci_override> + { + static void + parse (ci_override&, bool&, scanner&); + }; + } +} + +#endif // BDEP_CI_PARSERS_HXX |