aboutsummaryrefslogtreecommitdiff
path: root/load/types-parsers.hxx
blob: fcf5113921d4d1485507eb1ae5fa446b8acc9650 (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
// file      : load/types-parsers.hxx -*- C++ -*-
// license   : MIT; see accompanying LICENSE file

// CLI parsers, included into the generated source files.
//

#ifndef LOAD_TYPES_PARSERS_HXX
#define LOAD_TYPES_PARSERS_HXX

#include <libbrep/types.hxx>

#include <load/options-types.hxx>

namespace cli
{
  class scanner;

  template <typename T>
  struct parser;

  template <>
  struct parser<brep::path>
  {
    static void
    parse (brep::path&, bool&, scanner&);
  };

  template <>
  struct parser<brep::ignore_unresolved_conditional_dependencies>
  {
    static void
    parse (brep::ignore_unresolved_conditional_dependencies&, bool&, scanner&);
  };
}

#endif // LOAD_TYPES_PARSERS_HXX