aboutsummaryrefslogtreecommitdiff
path: root/clean/types-parsers.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-22 23:31:10 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-24 16:12:02 +0300
commit94b04d166c1041028571222b9931121b0f7dfded (patch)
tree33d79d968cfd4a7e0977cb9686ae9ff4abfd52c4 /clean/types-parsers.hxx
parent28de800a7a38ed781b8f04f8f380d65b2d79ec14 (diff)
Implement brep-clean
Diffstat (limited to 'clean/types-parsers.hxx')
-rw-r--r--clean/types-parsers.hxx28
1 files changed, 28 insertions, 0 deletions
diff --git a/clean/types-parsers.hxx b/clean/types-parsers.hxx
new file mode 100644
index 0000000..46fd483
--- /dev/null
+++ b/clean/types-parsers.hxx
@@ -0,0 +1,28 @@
+// file : clean/types-parsers.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+// CLI parsers, included into the generated source files.
+//
+
+#ifndef CLEAN_TYPES_PARSERS_HXX
+#define CLEAN_TYPES_PARSERS_HXX
+
+#include <clean/options-types.hxx>
+
+namespace cli
+{
+ class scanner;
+
+ template <typename T>
+ struct parser;
+
+ template <>
+ struct parser<brep::toolchain_timeouts>
+ {
+ static void
+ parse (brep::toolchain_timeouts&, bool&, scanner&);
+ };
+}
+
+#endif // CLEAN_TYPES_PARSERS_HXX