aboutsummaryrefslogtreecommitdiff
path: root/libbutl/manifest-parser.ixx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-01-08 15:30:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-01-08 15:31:29 +0300
commit6ac4f3bcc0bd1306bf1a8dd1bebae1a00081c6b7 (patch)
tree18557b6da8fafbdc511a0c0f505137ca9317d5ef /libbutl/manifest-parser.ixx
parent6876fd23ef84487c016e7be46d3deb7d1e695cef (diff)
Add support for filtering during manifest parsing and serialization
Diffstat (limited to 'libbutl/manifest-parser.ixx')
-rw-r--r--libbutl/manifest-parser.ixx14
1 files changed, 14 insertions, 0 deletions
diff --git a/libbutl/manifest-parser.ixx b/libbutl/manifest-parser.ixx
new file mode 100644
index 0000000..b308264
--- /dev/null
+++ b/libbutl/manifest-parser.ixx
@@ -0,0 +1,14 @@
+// file : libbutl/manifest-parser.ixx -*- C++ -*-
+// copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+namespace butl
+{
+ inline manifest_name_value manifest_parser::
+ next ()
+ {
+ manifest_name_value r;
+ do { parse_next (r); } while (filter_ && !filter_ (r));
+ return r;
+ }
+}